]> projects.mako.cc - selectricity/blob - app/views/election/_candidate_box_info.rhtml
An @edit=true declaration was missing from edit_voters that prevented the voter delet...
[selectricity] / app / views / election / _candidate_box_info.rhtml
1 <div class="candidate_box_info">
2   <% if @current_candidate.picture %>
3   <div class="candidate_box_picture">
4     <img src="<%= url_for @current_candidate.picture.public_filename(:thumb) %>" />
5   </div>
6   <% end %>
7   <div class="candidate_box_description">
8     <% if @current_candidate.description.length > 0 %>
9        <%= h(@current_candidate.description) %>
10     <% else %>
11       <!-- no description -->
12     <% end %>
13   </div>
14   <div class="clear-div"></div>
15 </div>

Benjamin Mako Hill || Want to submit a patch?