]> projects.mako.cc - selectricity/blob - app/views/election/_candidate_line.rhtml
merged more fixes from devel
[selectricity] / app / views / election / _candidate_line.rhtml
1 <div id="cand<%= @current_candidate.id %>">
2   <li><%=h @current_candidate.name -%>
3     <span id="show_candidate_link_<%= @current_candidate.id %>">
4     (<%= link_to "Show Details", "#",
5          :onclick => "show_candidate_info(#{@current_candidate.id}); return false;"  %>)
6     </span>
7     <span style="display: none;" id="hide_candidate_link_<%= @current_candidate.id %>">
8     (<%= link_to "Hide Details", "#",
9          :onclick => "hide_candidate_info(#{@current_candidate.id}); return false;" %>)
10     <br />
11
12     <div style="display: none;" id="candidate_description_<%= @current_candidate.id %>">
13     <%= render :partial => 'candidate_box_info' %>
14     </>
15     </span>
16   </li>
17 </div>

Benjamin Mako Hill || Want to submit a patch?