]> projects.mako.cc - selectricity/blob - app/views/election/_candidate_line.rhtml
merged in some more fixes fromdevel
[selectricity] / app / views / election / _candidate_line.rhtml
1 <div id="cand<%= @current_candidate.id %>">
2   <li><%=h @current_candidate.name -%>
3     <% if @show_details %>
4       (<%= link_to_remote "Hide Details",
5                          :update => "cand#{@current_candidate.id}",
6                          :url => { :action => :lessinfo_candidate,
7                                        :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?