]> projects.mako.cc - selectricity/blob - app/views/common/_result_box.rhtml
made the license clear
[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?