From 68fe09cddb518893adabd10302676e5b3665fad0 Mon Sep 17 00:00:00 2001 From: Michel Etienne Date: Thu, 21 Aug 2014 15:16:28 +0200 Subject: remove objectids on show --- app/views/companies/show.html.erb | 11 ++--------- app/views/group_of_lines/show.html.erb | 9 +-------- app/views/lines/show.html.erb | 11 ++--------- app/views/networks/show.html.erb | 9 +-------- app/views/routes/show.html.erb | 5 +---- app/views/vehicle_journeys/_form.html.erb | 1 + app/views/vehicle_journeys/show.html.erb | 4 ---- config/locales/vehicle_journeys.yml | 2 ++ 8 files changed, 10 insertions(+), 42 deletions(-) diff --git a/app/views/companies/show.html.erb b/app/views/companies/show.html.erb index 844832ee1..0c8585a6c 100644 --- a/app/views/companies/show.html.erb +++ b/app/views/companies/show.html.erb @@ -1,12 +1,8 @@ <%= title_tag t('companies.show.title', :company => @company.name) %> -
- - <%= @company.name %> -
<%= @company.short_name %> @@ -39,15 +35,12 @@ <%= @company.registration_number %>
-- - <%= @company.objectid %> -
- - <%= @group_of_line.name %> -
<%= @group_of_line.comment %>
-- - <%= @group_of_line.objectid %> -
- - <%= @line.name %> -
<%= @line.published_name %> @@ -80,10 +76,6 @@ <%= @line.comment %>
-- - <%= @line.objectid %> -
- - <%= @network.name %> -
<%= @network.registration_number %> @@ -33,15 +29,12 @@ <%= @network.source_identifier %>
-- - <%= @network.objectid %> -
- - <%= @route.objectid %> -
@@ -94,6 +90,7 @@ <% content_for :sidebar do %>- - <%= @vehicle_journey.objectid %> -