<%- set_title 'Locations' -%> <%- unless @errors.blank? -%> <%= @errors * '
' -%> <%- end -%> <%- if @locations.empty? -%>

No locations found. Why don't you <%= link_to 'import', import_locations_path -%> some?

<%- else -%> <%- for location in @locations -%> <%- end -%>
<%= sort_link('locations', 'location_number', params) -%> <%= sort_link('locations', 'name', params) -%> Address URL
<%= link_to location.location_number, location -%> <%= link_to location.name, location -%> <%= location.geocoding_address -%> <%- if location.locale -%> <%= link_to location.locale.to_url, location.locale.to_url -%> <%- end -%>
<%- end -%> <%= link_to 'Import', import_locations_path, :class => 'button' -%> <%= link_to 'Export', export_locations_path, :class => 'button' -%>