app/views/locations/index.html.erb
<p style="color: green"><%= notice %></p>
<h1><%= t('locations') %></h1>
<div id="locations">
<% @locations.each do |location| %>
<%= render location %>
<p>
<%= link_to t('.show'), location %>
</p>
<% end %>
</div>
<%= link_to t('.new_location'), new_location_path %>