]> projects.mako.cc - selectricity/blob - app/views/election/_candidate_line.rhtml
Add some empty request testcases.
[selectricity] / app / views / election / _candidate_line.rhtml
1 <% -%>
2 <div id="cand<%= @current_candidate.id %>">
3   <li><%= @current_candidate.name -%>
4     <% if @show_details %>
5       (<%= link_to_remote "Hide Details",
6                          :update => "cand#{@current_candidate.id}",
7                          :url => { :action => :lessinfo_candidate, :id => @current_candidate.id } %>)
8       <br />
9       <blockquote>
10       <%= h(@current_candidate.description) %>
11       </blockquote>
12     <% else %>
13       (<%= link_to_remote "Show Details",
14                          :update => "cand#{@current_candidate.id}",
15                          :url => { :action => :moreinfo_candidate,
16                          :id => @current_candidate.id } %>)
17     <% end %>
18   </li>
19 </div>

Benjamin Mako Hill || Want to submit a patch?