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 %> -

<% content_for :sidebar do %>
@@ -102,8 +94,9 @@ <% content_for :sidebar do %> <%= creation_tag(@line) %> diff --git a/app/views/networks/show.html.erb b/app/views/networks/show.html.erb index 273a04aed..e7b103dda 100644 --- a/app/views/networks/show.html.erb +++ b/app/views/networks/show.html.erb @@ -3,10 +3,6 @@
<%= @map.to_html %>
-

- - <%= @network.name %> -

<%= @network.registration_number %> @@ -33,15 +29,12 @@ <%= @network.source_identifier %>

-

- - <%= @network.objectid %> -

<% content_for :sidebar do %>