Sha256: df73c91423c26696d68e2868787dad8c8ce8cc9ec7bb912584011f5fe31d1936

Contents?: true

Size: 662 Bytes

Versions: 2

Compression:

Stored size: 662 Bytes

Contents

<h1>Listing test_models</h1>

<table>
  <tr>
    <th>First name</th>
    <th>Last name</th>
    <th>Address</th>
    <th>Some flag</th>
  </tr>

<% @test_models.each do |test_model| %>
  <tr>
    <td><%=h test_model.first_name %></td>
    <td><%=h test_model.last_name %></td>
    <td><%=h test_model.address %></td>
    <td><%=h test_model.some_flag %></td>
    <td><%= link_to 'Show', test_model %></td>
    <td><%= link_to 'Edit', edit_test_model_path(test_model) %></td>
    <td><%= link_to 'Destroy', test_model, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New test_model', new_test_model_path %>

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
view_mapper-0.3.4 test/views/auto_complete/expected_templates/index.html.erb
view_mapper-0.3.4 test/views/paperclip/expected_templates/index.html.erb