Sha256: b6106ffdad01a08e74ea39687e10b84a773b56c6d64fbd916cc048e988eb9baf

Contents?: true

Size: 558 Bytes

Versions: 4

Compression:

Stored size: 558 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

4 entries across 4 versions & 1 rubygems

Version Path
dynamic_controller-0.0.12 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.11 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.10 spec/dummy/app/views/countries/index.html.erb
dynamic_controller-0.0.9 spec/dummy/app/views/countries/index.html.erb