Sha256: 376f1a01f1bd046254b0984ee80c5debc151c52efcf1f61bafed231eebb7eee0

Contents?: true

Size: 713 Bytes

Versions: 7

Compression:

Stored size: 713 Bytes

Contents

<h1>Listing streets</h1>

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

<% @streets.each do |street| %>
  <tr>
    <td><%= street.name %></td>
    <td><%= street.city.name %></td>
    <td><%= link_to 'Show', [@country, @city, street] %></td>
    <td><%= link_to 'Edit', edit_country_city_street_path(@country, @city, street) %></td>
    <td><%= link_to 'Destroy', [@country, @city, street], method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Street', new_country_city_street_path(@country, @city) %>
<br>
<%= link_to 'Back to Cities', country_cities_path(@country) %>

Version data entries

7 entries across 7 versions & 1 rubygems

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