aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/networks
diff options
context:
space:
mode:
authorMichel Etienne2014-08-21 15:16:28 +0200
committerMichel Etienne2014-08-21 15:16:28 +0200
commit68fe09cddb518893adabd10302676e5b3665fad0 (patch)
tree1027b07555a913480b4cedd15c489f1187f3220f /app/views/networks
parent7a60bd5dc6165787bf622781abaeb3d959e2193d (diff)
downloadchouette-core-68fe09cddb518893adabd10302676e5b3665fad0.tar.bz2
remove objectids on show
Diffstat (limited to 'app/views/networks')
-rw-r--r--app/views/networks/show.html.erb9
1 files changed, 1 insertions, 8 deletions
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
@@ -4,10 +4,6 @@
<%= @map.to_html %>
<div class="summary">
<p>
- <label><%= Chouette::Network.human_attribute_name("name") %>: </label>
- <%= @network.name %>
- </p>
- <p>
<label><%= Chouette::Network.human_attribute_name("registration_number") %>: </label>
<%= @network.registration_number %>
</p>
@@ -33,15 +29,12 @@
<label><%= Chouette::Network.human_attribute_name("source_identifier") %>: </label>
<%= @network.source_identifier %>
</p>
- <p>
- <label><%= Chouette::Network.human_attribute_name("objectid") %>: </label>
- <%= @network.objectid %>
- </p>
</div>
</div>
<% content_for :sidebar do %>
<ul class="actions">
+ <li><%= link_to t('networks.actions.new'), new_referential_network_path(@referential), :class => "add" %></li>
<li><%= link_to t('networks.actions.edit'), edit_referential_network_path(@referential, @network), :class => "edit" %></li>
<li><%= link_to t('networks.actions.destroy'), referential_network_path(@referential, @network), :method => :delete, :data => {:confirm => t('networks.actions.destroy_confirm')}, :class => "remove" %></li>
<br>