From 2f922e1adbbf08a8a0056047e727b208bee30391 Mon Sep 17 00:00:00 2001 From: decabeza Date: Tue, 19 Jun 2018 11:59:56 +0200 Subject: [PATCH] Adds button to officing voters if person decided not to vote --- app/views/officing/voters/new.html.erb | 2 ++ config/locales/en/officing.yml | 1 + config/locales/es/officing.yml | 1 + 3 files changed, 4 insertions(+) diff --git a/app/views/officing/voters/new.html.erb b/app/views/officing/voters/new.html.erb index a6ab32d33..474b3c2a6 100644 --- a/app/views/officing/voters/new.html.erb +++ b/app/views/officing/voters/new.html.erb @@ -27,3 +27,5 @@ <% end %> + +<%= link_to t("officing.voters.new.not_to_vote"), namespaced_root_path, class: "button" %> diff --git a/config/locales/en/officing.yml b/config/locales/en/officing.yml index 42003da98..0c41ab5a0 100644 --- a/config/locales/en/officing.yml +++ b/config/locales/en/officing.yml @@ -57,6 +57,7 @@ en: table_poll: Poll table_status: Polls status table_actions: Actions + not_to_vote: The person has decided not to vote at this time show: can_vote: Can vote error_already_voted: Has already participated in this poll diff --git a/config/locales/es/officing.yml b/config/locales/es/officing.yml index 6832311a7..9e94e2dad 100644 --- a/config/locales/es/officing.yml +++ b/config/locales/es/officing.yml @@ -57,6 +57,7 @@ es: table_poll: Votación table_status: Estado de las votaciones table_actions: Acciones + not_to_vote: La persona ha decidido no votar por el momento show: can_vote: Puede votar error_already_voted: Ya ha participado en esta votación.