spec/dummy/app/views/countries/index.html.erb in dynamic_controller-0.0.8 vs spec/dummy/app/views/countries/index.html.erb in dynamic_controller-0.0.9

- old
+ new

@@ -1,25 +1,25 @@ -<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 %> +<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 %>