Skip to content

Commit

Permalink
fixed rails bug on people/compare
Browse files Browse the repository at this point in the history
  • Loading branch information
opencongress committed Sep 9, 2011
1 parent 6140b1e commit 58828cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/people/compare.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
<div>
<div class="comppeeps">
<h3><%= link_to @person1.full_name, :controller => 'people', :action => 'show', :id => @person1.ident %></h3>
<%= link_to(image_path(@person1.photo_path, :alt=> @person1.full_name), :controller => 'people', :action => 'show', :id => @person1.ident) %>
<%= link_to(image_tag(@person1.photo_path, :alt=> @person1.full_name).html_safe, :controller => 'people', :action => 'show', :id => @person1.ident) %>
<p>
<b>State:</b> <%= @person1.state %><br/>
<b>Party:</b> <%= @person1.party %><br/>
Expand All @@ -55,7 +55,7 @@
</div>
<div class="comppeeps right">
<h3><%= link_to @person2.full_name, :controller => 'people', :action => 'show', :id => @person2.ident %></h3>
<%= link_to(image_path(@person2.photo_path, :alt=> @person2.full_name), :controller => 'people', :action => 'show', :id => @person2.ident) %>
<%= link_to(image_tag(@person2.photo_path, :alt=> @person2.full_name).html_safe, :controller => 'people', :action => 'show', :id => @person2.ident) %>
<p>
<b>State:</b> <%= @person2.state %><br/>
<b>Party:</b> <%= @person2.party %><br/>
Expand Down

0 comments on commit 58828cc

Please sign in to comment.