rgarcia
d9ad658758
adds admin interface for poll questions
2016-11-17 09:30:42 +01:00
rgarcia
bd1a0cf1ff
removes placeholder view
2016-11-16 19:42:45 +01:00
rgarcia
1dbdabb69a
adds consistency to spacing
2016-11-16 19:42:35 +01:00
rgarcia
348a6dc970
everybody can vote for now
2016-11-16 19:42:05 +01:00
rgarcia
b104859da3
adds question comments
2016-11-16 19:41:52 +01:00
rgarcia
6fe965a9b8
adds question's show
2016-11-16 19:41:29 +01:00
rgarcia
ac58f30498
removes proposal ballots
2016-11-16 19:39:20 +01:00
rgarcia
127cbcc5c7
adds dev seeds for polls and poll questions
2016-11-16 19:38:41 +01:00
Enrique García
03f14e05dd
Merge pull request #1262 from consul/flacky-spec
...
Tries to fix flacky spec 'change my credentials'
2016-11-15 11:43:07 +01:00
Raimond Garcia
14af1a1961
Merge pull request #1259 from consul/accessibility
...
Accessibility
2016-11-15 11:39:40 +01:00
Enrique García
5a31c3b020
Merge pull request #1263 from consul/contributing
...
updates contributing
2016-11-15 11:38:53 +01:00
rgarcia
97855a8e43
updates contributing
2016-11-15 11:36:36 +01:00
Enrique García
0efc3f9dbf
Merge pull request #1261 from consul/ruby-code-style
...
adds consistency to ruby code style
2016-11-15 11:35:55 +01:00
rgarcia
4ac5e84044
tries to fix flacky spec 'change my credentials'
2016-11-15 11:24:59 +01:00
rgarcia
bb3c4c6399
adds consistency to ruby code style
...
Keep a blank line before and after private
Keep a blank line before and after protected
Remove extra empty line at class body end
Remove extra blank line
Add final newline
Use 2 (not 3) spaces for indentation
Use 2 (not 4) spaces for indentation
Remove space before comma
Add space after comma
Remove trailing whitespaces
Remove unnecessary spacing
Use snake_case for variable names
Do not use then for multi-line if
Remove unused block argument - i
Use the new Ruby 1.9 hash syntax
Remove unused assignment to variable
Indent when as deep as case
Align attributes
Align end with def
2016-11-15 11:18:43 +01:00
Alberto Garcia Cabeza
5e487bb85f
fixes specs
2016-11-14 18:06:39 +01:00
Alberto Garcia Cabeza
a66800afb1
fixes styles for spending proposals list and show
2016-11-14 17:46:01 +01:00
Alberto Garcia Cabeza
2249fdbdfa
improves outline and structure headings
2016-11-14 17:45:20 +01:00
Raimond Garcia
a93a10b04d
Merge pull request #1258 from consul/polling-questions
...
Polling questions
2016-11-14 17:44:41 +01:00
kikito
13238e6a84
Merge branch 'polling' into polling-questions
2016-11-14 14:02:31 +01:00
Juanjo Bazán
c1336ccc13
adds fields and i18n keys to admin poll form
2016-11-14 13:58:19 +01:00
Juanjo Bazán
7b3c9b725c
fights a flaky spec
2016-11-14 13:58:19 +01:00
Juanjo Bazán
76a4f420eb
changes menu name
2016-11-14 13:58:19 +01:00
Juanjo Bazán
b8302b6fa8
adds dates to polls
2016-11-14 13:58:19 +01:00
Juanjo Bazán
6e3da012e5
removes unused i18n key
2016-11-14 13:58:00 +01:00
Juanjo Bazán
0dd122833a
removes booths link from admin menu
2016-11-14 13:58:00 +01:00
Alberto Garcia Cabeza
96cf578259
add officing to i18n tasks
2016-11-14 13:58:00 +01:00
Alberto Garcia Cabeza
1a56d5bbe6
adds styles to officing voters views
2016-11-14 13:58:00 +01:00
Alberto Garcia Cabeza
70752e217d
adds styles for offering voters views
2016-11-14 13:58:00 +01:00
rgarcia
5ba72f0fe3
assigns officers to booths
2016-11-14 13:58:00 +01:00
rgarcia
de330b1c02
adds booth info to poll show
2016-11-14 13:57:16 +01:00
rgarcia
e810fe3e34
maintains poll date and status in index for demo
2016-11-14 13:57:16 +01:00
rgarcia
963bb4b602
removes unused attributes from poll show
2016-11-14 13:57:16 +01:00
rgarcia
63ccac963a
adds booth backend for index, show, create and edit actions
2016-11-14 13:57:16 +01:00
rgarcia
6d7d6e67ea
adds consistency to syntax
2016-11-14 13:56:49 +01:00
rgarcia
c4bc484afb
updates dev seeds with booths
2016-11-14 13:56:49 +01:00
rgarcia
6e6d2ac753
moves poll spec to poll folder
2016-11-14 13:56:49 +01:00
rgarcia
daac86a7a8
removes poll unused attributes
2016-11-14 13:56:49 +01:00
rgarcia
3251e4944e
allow officers to be created without a poll
2016-11-14 13:56:49 +01:00
rgarcia
fda2f3c89e
adds admin submit button helper
2016-11-14 13:56:49 +01:00
rgarcia
c1a9caeab0
adds poll CRU actions
2016-11-14 13:56:49 +01:00
rgarcia
304743f64e
tmp commit poll index, show and new
2016-11-14 13:56:49 +01:00
rgarcia
ebb9a5fa1d
fixes specs
2016-11-14 13:56:49 +01:00
Alberto Garcia Cabeza
5e3fff6825
Adds content to booths index and show views
2016-11-14 13:56:49 +01:00
rgarcia
5b424d1793
updates query to be more efficient
2016-11-14 13:56:49 +01:00
rgarcia
1ac77fad7a
adds spacing to factories
2016-11-14 13:56:49 +01:00
rgarcia
f0a7d19f72
removes officer factory
2016-11-14 13:56:49 +01:00
rgarcia
5b7783b180
updates db schema
2016-11-14 13:56:49 +01:00
rgarcia
b54aee5702
displays voter name if already voted
2016-11-14 13:52:38 +01:00
rgarcia
8dc7285681
validates user has not already voted
2016-11-14 13:52:38 +01:00