removes unused partials
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
<div class="row">
|
||||
<div class="small-12 medium-8 column">
|
||||
<div class="callout alert text-center">
|
||||
<strong><%= t("officing.voters.show.error_already_voted") %></strong>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,18 +0,0 @@
|
||||
<div class="row">
|
||||
<div class="small-12 medium-6 large-4 column">
|
||||
<div class="callout success text-center">
|
||||
<strong><%= t("officing.voters.show.can_vote") %></strong>
|
||||
</div>
|
||||
</div>
|
||||
<div class="small-12 medium-6 large-4 column end">
|
||||
<%= 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 %>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user