aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/lines/show.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/lines/show.html.erb')
-rw-r--r--app/views/lines/show.html.erb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/lines/show.html.erb b/app/views/lines/show.html.erb
index f0d987d3f..4db5cff99 100644
--- a/app/views/lines/show.html.erb
+++ b/app/views/lines/show.html.erb
@@ -1,4 +1,4 @@
-<%= title_tag @line.name %>
+<%= title_tag t('lines.show.title', :line => @line.name ) %>
<div class="line_show">
@@ -13,7 +13,7 @@
</p>
<p>
<label><%= Chouette::Line.human_attribute_name("registrationnumber") %>: </label>
- <%= @line.registrationnumber %>
+ <%= @line.registration_number %>
</p>
<p>
<label><%= Chouette::Line.human_attribute_name("name") %>: </label>
@@ -28,8 +28,8 @@
<%= @line.number %>
</p>
<p>
- <label><%= Chouette::Line.human_attribute_name("transportmodename") %>: </label>
- <%= @line.transportmodename %>
+ <label><%= Chouette::Line.human_attribute_name("transport_mode_name") %>: </label>
+ <%= @line.transport_mode_name %>
</p>
<p>
<label><%= Chouette::Line.human_attribute_name("comment") %>: </label>