%= javascript_include_tag "location" %>
<%= t('location.picture') %> | <%= t('location.name') %> | <%= t('location.longitude') %> | <%= t('location.latitude') %> | <%= t('location.description') %> | <%if is_manager? %><%= t('location.edit') %> | <%= t('location.delete') %> | <% end %>
---|---|---|---|---|---|---|
<%= image_tag(location.file, alt: location.file, size: "50x50" ) if !location.file.blank? %> | <%= location.name %> | <%= location.longitude%> | <%= location.latitude%> | <%= location.description %> | <%if is_manager? %><%= link_to 'Edit', edit_panel_location_back_end_location_path(location) %> | <%= link_to 'Destroy', panel_location_back_end_location_path(location), method: :delete , :confirm => t(:sure?) %> | <%end%>