diff options
| author | Michel Etienne | 2014-08-21 16:33:57 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-08-21 16:33:57 +0200 |
| commit | beed6b8df8d86c86b69fcca2b602bf40e36dcb75 (patch) | |
| tree | d8d93f191c65952a2cc33e23b12b3702f828240f /app/views/networks | |
| parent | 64ac4e2bfe88de0e3c54812868145f4c36b43ccf (diff) | |
| download | chouette-core-beed6b8df8d86c86b69fcca2b602bf40e36dcb75.tar.bz2 | |
maintain object names on show
Diffstat (limited to 'app/views/networks')
| -rw-r--r-- | app/views/networks/show.html.erb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/networks/show.html.erb b/app/views/networks/show.html.erb index e7b103dda..1999c9869 100644 --- a/app/views/networks/show.html.erb +++ b/app/views/networks/show.html.erb @@ -4,6 +4,10 @@ <%= @map.to_html %> <div class="summary"> <p> + <label><%= @network.human_attribute_name(:name) %>: </label> + <%= @network.name %> + </p> + <p> <label><%= Chouette::Network.human_attribute_name("registration_number") %>: </label> <%= @network.registration_number %> </p> |
