diff options
Diffstat (limited to 'app/views/lines/show.html.erb')
| -rw-r--r-- | app/views/lines/show.html.erb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb index 2b9961ca2..d1a13aacf 100644 --- a/app/views/lines/show.html.erb +++ b/app/views/lines/show.html.erb @@ -21,7 +21,7 @@ <% end %> </p> <p> - <label><%= @line.human_attribute_name("name") %>: </label> + <label><%= @line.human_attribute_name(:name) %>: </label> <%= @line.name %> </p> <p> @@ -80,10 +80,6 @@ <label><%= @line.human_attribute_name("comment") %>: </label> <%= @line.comment %> </p> - <p> - <label><%= @line.human_attribute_name("objectid") %>: </label> - <%= @line.objectid %> - </p> </div> </div> @@ -102,8 +98,9 @@ <% content_for :sidebar do %> <ul class="actions"> + <li><%= link_to t('lines.actions.new'), new_referential_line_path(@referential), :class => "add" %></li> <li><%= link_to t('lines.actions.edit'), edit_referential_line_path(@referential, @line), :class => "edit" %></li> - <li><%= link_to t('lines.actions.destroy'), referential_line_path(@referential, @line), :method => :delete, :data => {:confirm => t('lines.actions.destroy_confirm')}, :class => "remove" %></li> + <li><%= link_to t('lines.actions.destroy'), referential_line_path(@referential, @line), :method => :delete, :data => {:confirm => t('lines.actions.destroy_confirm')}, :class => "remove" %></li> <li><%= link_to t('routes.actions.new'), new_referential_line_route_path(@referential, @line), :class => "add" %></li> </ul> <%= creation_tag(@line) %> |
