aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/access_links
diff options
context:
space:
mode:
authorMichel Etienne2014-08-21 16:33:57 +0200
committerMichel Etienne2014-08-21 16:33:57 +0200
commitbeed6b8df8d86c86b69fcca2b602bf40e36dcb75 (patch)
treed8d93f191c65952a2cc33e23b12b3702f828240f /app/views/access_links
parent64ac4e2bfe88de0e3c54812868145f4c36b43ccf (diff)
downloadchouette-core-beed6b8df8d86c86b69fcca2b602bf40e36dcb75.tar.bz2
maintain object names on show
Diffstat (limited to 'app/views/access_links')
-rw-r--r--app/views/access_links/show.html.erb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/access_links/show.html.erb b/app/views/access_links/show.html.erb
index f7b870fd8..79294bb38 100644
--- a/app/views/access_links/show.html.erb
+++ b/app/views/access_links/show.html.erb
@@ -13,6 +13,10 @@
<%= link_to @access_link.stop_area.name, [@referential, @access_link.stop_area] %>
</p>
<p>
+ <label><%= @access_link.human_attribute_name(:name) %>: </label>
+ <%= @access_link.name %>
+ </p>
+ <p>
<label><%= @access_link.human_attribute_name("access_link_type") %>: </label>
<%= t("connection_link_types.label.#{@access_link.access_link_type}") %>
</p>