displays recounts for a single booth
This commit is contained in:
@@ -19,6 +19,7 @@ class Admin::Poll::BoothAssignmentsController < Admin::Poll::BaseController
|
||||
officer_assignments: [officer: [:user]]).find(params[:id])
|
||||
@voters_by_date = @booth_assignment.voters.group_by {|v| v.created_at.to_date}
|
||||
@partial_results = @booth_assignment.partial_results
|
||||
@recounts = @booth_assignment.recounts
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<%= t("admin.results.index.no_results") %>
|
||||
</div>
|
||||
<% else %>
|
||||
<%= render "admin/poll/results/recount", resource: @booth_assignment %>
|
||||
<%= render "admin/poll/results/result" %>
|
||||
<% end %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user