]> projects.mako.cc - selectricity-live/blob - app/views/election/_candidate_line.rhtml
scrollbar appears if two many electons on control panel. ooks pretty nasty.
[selectricity-live] / 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?