]> projects.mako.cc - selectricity/blob - app/views/common/_result_box.rhtml
Added code to check for previously uploaded custom images and delete them, the newly...
[selectricity] / app / views / common / _result_box.rhtml
1 <div id="<%= method %>_result" class="resultbox"<%= ' style="display: none;"' unless @election.election_method == method %>>
2 <div class="normal-header">
3   <span class="header"><%= ELECTION_TYPES[method]%> </span>
4   <span class="subheader">
5   <% if @election.election_method == method %>
6     Selected Method
7   <% else %>
8     Alternative Method 
9   <% end %></span>
10 </div>
11
12 <% unless @election.election_method == method -%>
13 <%= render :partial => 'common/result', :object => @results[method]%>
14 <% end -%>
15 <%= render :partial => 'common/methodinfo_' + method,
16            :object => @results[method] %>
17
18 </div>
19

Benjamin Mako Hill || Want to submit a patch?