Commit Graph

25 Commits

Author SHA1 Message Date
Javi Martín
24e4f4518f Render search field before "no results" message
The same way it's done in other sections.
2019-10-07 14:30:39 +02:00
Javi Martín
6fa67b5e53 Use active record translations for labels
This way we can simplify the way we generate form fields. In some cases,
we also use the human attribute in table headers, which IMHO makes
sense.

I haven't moved all of them: for example, sometimes a label is
different depending on whether it's shown to administrators, valuators,
or users. And I haven't touched the ones related to devise, since I
wasn't sure about possible side effects.

Note I've also removed placeholders when they had the same text as their
labels, since they weren't helpful. On the contrary, the added redundant
text to the form, potentially distracting users.
2019-10-07 01:56:23 +02:00
DenisNikolski
5627c8ccf4 add test for booths search 2019-09-21 16:25:20 +03:00
DenisNikolski
6f085b5696 add search form on admin booths 2019-09-12 23:02:39 +03:00
Javi Martín
71d9ddd849 Apply rule to end files with a newline character 2019-09-10 20:02:15 +02:00
Javi Martín
911fe4e481 Simplify calls to render partial
We're also adding a bit of consistency, since most of our calls to
partial rendering omit the `partial` and `locals` keys.
2019-09-04 15:00:36 +02:00
Julian Herrero
e63a862882 Use double quotes in app/views/admin/poll 2019-03-19 12:16:50 +01:00
decabeza
ee16900d1b Unifies styles and views for admin voting booths section 2018-07-31 12:54:12 +02:00
decabeza
811c348f0f hides edit booth button when available filter 2017-10-11 19:36:23 +02:00
María Checa
fd1d09c8c2 Booths and shifts index pages minor fixes
Showing only actions to assign and edit shifits in shifts index, and option to create a new booth in booths index.
2017-10-02 10:25:11 +02:00
decabeza
3b4e80a34d improves layout and tables for polls shifts 2017-09-08 16:50:53 +02:00
rgarcia
456429f08b adds shifts 2017-08-04 21:27:30 +02:00
Juanjo Bazán
70b86170a2 adds booth_assignment show with officers and recounts info 2017-01-04 21:00:36 +01:00
Alberto Garcia Cabeza
9c78b60ddc adds provisional content on booths show and officers assign 2016-12-16 18:59:15 +01:00
Alberto Garcia Cabeza
772f8ea4ad removes booth name link on booths index 2016-12-16 14:29:28 +01:00
Alberto Garcia Cabeza
d5f9bb1d11 improves styles for admin booths views 2016-12-14 18:37:38 +01:00
Juanjo Bazán
e106d81107 adds entries info on booths index 2016-12-02 14:33:40 +01:00
Juanjo Bazán
f67f058b57 adds complete Booth management to admin 2016-12-02 14:28:39 +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
63ccac963a adds booth backend for index, show, create and edit actions 2016-11-14 13:57:16 +01:00
Alberto Garcia Cabeza
5e3fff6825 Adds content to booths index and show views 2016-11-14 13:56:49 +01:00
Alberto Garcia Cabeza
7f0d233bce Add views for admin booths 2016-11-14 13:51:09 +01:00
Alberto Garcia Cabeza
faecb51054 Adds booths index content 2016-11-14 13:51:09 +01:00
rgarcia
503338e47b adds view placeholders for officing polls 2016-11-14 13:51:09 +01:00