From 5540f130e1b9b0b50c20961e8724075c9b808d1d Mon Sep 17 00:00:00 2001 From: decabeza Date: Fri, 13 Oct 2017 14:16:33 +0200 Subject: [PATCH] removes unused partials --- .../officing/voters/_already_voted.html.erb | 7 ------- app/views/officing/voters/_can_vote.html.erb | 18 ------------------ 2 files changed, 25 deletions(-) delete mode 100644 app/views/officing/voters/_already_voted.html.erb delete mode 100644 app/views/officing/voters/_can_vote.html.erb diff --git a/app/views/officing/voters/_already_voted.html.erb b/app/views/officing/voters/_already_voted.html.erb deleted file mode 100644 index 1476913f9..000000000 --- a/app/views/officing/voters/_already_voted.html.erb +++ /dev/null @@ -1,7 +0,0 @@ -
-
-
- <%= t("officing.voters.show.error_already_voted") %> -
-
-
diff --git a/app/views/officing/voters/_can_vote.html.erb b/app/views/officing/voters/_can_vote.html.erb deleted file mode 100644 index b5c9663ac..000000000 --- a/app/views/officing/voters/_can_vote.html.erb +++ /dev/null @@ -1,18 +0,0 @@ -
-
-
- <%= t("officing.voters.show.can_vote") %> -
-
-
- <%= form_for @user, as: :voter, url: officing_voters_path, - method: :post, remote: true, - html: { id: "new_officing_voter" } do |f| %> - <%= f.hidden_field :poll_id, value: poll.id %> - <%= f.hidden_field :user_id, value: @user.id %> - <%= f.submit t("officing.voters.show.submit"), - class: "button success expanded", - data: { disable_with: t("officing.voters.can_vote.submit_disable_with") } %> - <% end %> -
-