Skip to content

Instantly share code, notes, and snippets.

@captproton
Created October 17, 2009 19:49
Show Gist options
  • Select an option

  • Save captproton/212436 to your computer and use it in GitHub Desktop.

Select an option

Save captproton/212436 to your computer and use it in GitHub Desktop.
<% form_for :person_review,
:url => move_person_reviews_path,
:html => {:method => :put } do |f| -%>
<%= f.submit "Complete Import" %>
<table>
<tr>
<th>Case no</th>
<th>name</th>
<th>address</th>
<th>city</th>
<th>state</th>
<th>zip</th>
</tr>
<% for person_review in @person_reviews %>
<tr style="background: #E6EFC2;color: #529214">
...
<td><strong>attorney</strong></td>
<td><%=h person_review.attorney_name %></td>
<td><%=h person_review.attorney_address %></td>
<td><%=h person_review.attorney_city %></td>
<td><%=h person_review.attorney_state %></td>
<td><%=h person_review.attorney_zip %></td>
</tr>
<% end %>
</table>
<%# f.hidden_field :accepted, :value => 1 %>
<%= f.check_box :accepted, :checked => true, :style => ":visibility = 0.00" %>
<%= f.submit "Complete Import " %>
<% end -%>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment