adds officer residence check and user voting

This commit is contained in:
rgarcia
2017-01-29 00:36:20 +01:00
parent 51be80eedc
commit 6c34599e1e
30 changed files with 570 additions and 89 deletions

View File

@@ -2,7 +2,7 @@
<ul id="officing_menu">
<li <%= "class=active" if controller_name == "voters" %>>
<%= link_to new_officing_poll_voter_path(Poll.last) do %>
<%= link_to new_officing_residence_path do %>
<span class="icon-user"></span>
<%= t("officing.menu.voters") %>
<% end %>