app/views/decidim/elections/admin/steps/_vote_ended.html.erb in decidim-elections-0.24.3 vs app/views/decidim/elections/admin/steps/_vote_ended.html.erb in decidim-elections-0.25.0.rc1
- old
+ new
@@ -2,14 +2,18 @@
<div class="card-divider">
<h2 class="card-title"><%= t(".title") %></h2>
</div>
<div class="card-section">
+ <p><%= t(".text") %></p>
+
<% form.messages.each do |key, value| %>
<% if form.errors.include?(key) %>
<p><%= form.errors.messages[key][0].html_safe %></p>
<% else %>
<p><%= value.html_safe %></p>
<% end %>
<% end %>
</div>
</div>
+
+<%= render(partial: "vote_stats") %>