app/views/admin/administration/locations/show.html.erb
<% content_for :title, @l10n %>
<div class="row">
<div class="col-lg-3">
<%= render 'admin/application/featured_image/show', about: @l10n, small: true %>
</div>
<div class="offset-lg-1 col-lg-8">
<%= osuny_panel t('admin.summary.label'), small: true do %>
<p class="lead mb-1"><%= @l10n.summary %></p>
<% end %>
<div class="mb-5">
<div class="row">
<div class="col-lg-6">
<%= osuny_label Administration::Location.human_attribute_name('address') %>
<p>
<% if @l10n.address_name.present? %>
<%= @l10n.address_name %><br>
<% end %>
<% if @location.address.present? %>
<%= @location.address %><br>
<% end %>
<% if @l10n.address_additional.present? %>
<%= @l10n.address_additional %><br>
<% end %>
<%= @location.zipcode %> <%= @location.city %> <%= @location.country %>
</p>
</div>
<div class="col-lg-6">
<% if @location.phone.present? %>
<%= osuny_label Administration::Location.human_attribute_name('phone') %>
<p><%= @location.phone %></p>
<% end %>
<% if @l10n.url.present? %>
<%= osuny_label Administration::Location::Localization.human_attribute_name('url') %>
<p><%= link_to @l10n.url, @l10n.url, target: :_blank %></p>
<% end %>
</div>
</div>
</div>
<% if @schools.any? %>
<%= osuny_panel Administration::Location.human_attribute_name('schools'), small: true do %>
<%= render 'admin/education/schools/list', schools: @schools %>
<% end %>
<% end %>
<% if @programs.any? %>
<%= osuny_panel Administration::Location.human_attribute_name('programs'), small: true do %>
<%= render 'admin/education/programs/list', programs: @programs %>
<% end %>
<% end %>
<% if @websites.any? %>
<%= osuny_panel Administration::Location.human_attribute_name('websites'), small: true do %>
<%= render 'admin/communication/websites/list', websites: @websites %>
<% end %>
<% end %>
</div>
</div>
<%= render 'admin/communication/contents/editor', about: @l10n %>
<%= render 'admin/application/connections/list', about: @location %>
<% content_for :action_bar_left do %>
<%= destroy_link @location %>
<%= static_link static_admin_administration_location_path(@location) %>
<% end %>
<% content_for :action_bar_right do %>
<%= edit_link @location %>
<% end %>