ECLK / ECLK/Nomination

Objection Add UI design

Open
#136 2 comments 0 reactions 0 assignees View on GitHub
Create Objection Priority 3
Dominant language
JavaScript
Stars
19
Forks
30
PR merge metrics
No merged PRs in 30d

Description

![screenshot from 2019-02-13 14-44-24](https://user-images.githubusercontent.com/42527969/52701356-1085fc80-2fa0-11e9-9226-a1f8ef2731ec.png)

View
#### Maintaining tree view
#### Nomination of a particular party is listed under the Division (District in this case)

Todo : Design above page in react+meterialUI and place it here "src/modules/objection/Objection_add"
```
related end points
get: /elections/{election_id}/nominations/
required-parameters:{
“election_id” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
}
return:{
[
{
“division_id” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
“name” : “Colomobo”,
“nominations” : [
{
“nomination_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_name” : “Some-Political-Party1”,
},
{
“nomination_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_id” : “a69454e5-2f96-480d-8df9-b59311c0a0b3”,
“team_name” : “Some-Political-Party2”,
},
]
},
]
```
![screenshot from 2019-02-13 14-54-46](https://user-images.githubusercontent.com/42527969/52702012-71620480-2fa1-11e9-83a7-e2bc3849cf2c.png)

### Objections - Create
#### Here you can create objections for one or more candidates.
#### You can attach if there are files of proof when submitting the objection.

```
related end points
post: /nominations/{nomination_id}/objections/
required-parameters:{
“sumbitted_by” : “e09d8e84-6c46-406e-adb8-d4c132c848ba”,
“comment” : “objection comment...”,
“attachement_file” : “path/to/file.jpg”,
}

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.