From e4728a4cc84f91bc2aa6bb82c38c1b87ff629ba2 Mon Sep 17 00:00:00 2001 From: Michel Etienne Date: Mon, 12 Nov 2012 15:12:24 +0100 Subject: manage generic access_links and hide/show datas on several views --- app/views/access_links/_form.html.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/views/access_links') 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" } %> -- cgit v1.2.3