]> projects.mako.cc - selectricity-live/blob - app/views/election/_candidate_box_info.rhtml
Add links to create new election/quick vote on the account summary screen.
[selectricity-live] / 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?