app/views/group_of_lines/show.html.erb
<%= title_tag t('group_of_lines.show.title', :group_of_line => @group_of_line.name )%>
<div class="group_of_line_show">
<%= @map.to_html %>
<div class="summary">
<p>
<label><%= @group_of_line.human_attribute_name("registration_number") %>: </label>
<%= @group_of_line.registration_number %>
</p>
<p>
<label><%= @group_of_line.human_attribute_name("comment") %>: </label>
<%= @group_of_line.comment %>
</p>
</div>
<p class="after_map" />
<h3 class="group_of_line_lines"><%= t('.lines') %></h3>
<div class="lines_detail">
<%= render :partial => "lines_detail" %>
</div>
</div>
<% content_for :sidebar do %>
<ul class="actions">
<li><%= link_to t('group_of_lines.actions.new'), new_referential_group_of_line_path(@referential), :class => "add" %></li>
<li><%= link_to t('group_of_lines.actions.edit'), edit_referential_group_of_line_path(@referential, @group_of_line), :class => "edit" %></li>
<li><%= link_to t('group_of_lines.actions.destroy'), referential_group_of_line_path(@referential, @group_of_line), :method => :delete, :data => {:confirm => t('group_of_lines.actions.destroy_confirm')} , :class => "remove" %></li>
<br>
</ul>
<%= creation_tag(@group_of_line) %>
<% end %>