Sha256: 0d6dc4e240b56f0439f015fcb1e968ab73e9f00a7bdad4e25b9725de6a5a6cb3

Contents?: true

Size: 583 Bytes

Versions: 7

Compression:

Stored size: 583 Bytes

Contents

<h1>Listing countries</h1>

<table>
  <tr>
    <th>Name</th>
    <th></th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @countries.each do |country| %>
  <tr>
    <td><%= country.name %></td>
    <td><%= link_to 'Show', country %></td>
    <td><%= link_to 'Edit', edit_country_path(country) %></td>
    <td><%= link_to 'Destroy', country, method: :delete, data: { confirm: 'Are you sure?' } %></td>
    <td><%= link_to 'Cities', country_cities_path(country) %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Country', new_country_path %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dynamic_controller-0.0.8 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.7 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.6 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.5 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.4 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.3 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.2 spec/dummy/app/views/countries/index.html.erb