aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/access_links
diff options
context:
space:
mode:
authorMichel Etienne2012-11-12 15:12:24 +0100
committerMichel Etienne2012-11-12 15:12:24 +0100
commite4728a4cc84f91bc2aa6bb82c38c1b87ff629ba2 (patch)
treec2a413e09fcfbbd7ac476a96ba5303c7a62b65d5 /app/views/access_links
parent2746176c6b2675d13568208061296915b2904277 (diff)
downloadchouette-core-e4728a4cc84f91bc2aa6bb82c38c1b87ff629ba2.tar.bz2
manage generic access_links and hide/show datas on several views
Diffstat (limited to 'app/views/access_links')
-rw-r--r--app/views/access_links/_form.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/access_links/_form.html.erb b/app/views/access_links/_form.html.erb
index e07de415f..147686930 100644
--- a/app/views/access_links/_form.html.erb
+++ b/app/views/access_links/_form.html.erb
@@ -5,6 +5,8 @@
<%= form.input :link_orientation_type , :as => :hidden%>
<%= form.input :name %>
<%= form.input :access_link_type, :as => :select, :collection => Chouette::AccessLink.access_link_types, :include_blank => false, :member_label => Proc.new { |type| t("connection_link_types.label.#{type}") } %>
+ <%= form.input :comment %>
+ <%= form.input :link_distance %>
<%= form.inputs :name => t('access_links.show.durations') do %>
<%= form.input "default_duration(1i)", :as => :hidden ,:input_html => { :value => "2000" } %>
<%= form.input "default_duration(2i)", :as => :hidden ,:input_html => { :value => "1" } %>