diff options
| author | Luc Donnet | 2012-08-07 16:28:11 +0200 |
|---|---|---|
| committer | Luc Donnet | 2012-08-07 16:28:11 +0200 |
| commit | 62168dbda36bf760045bbfe6499c538880172a18 (patch) | |
| tree | 18d2d72615c4940094cdafce6308e0b3aa5bf78d | |
| parent | e310caf444cd57a431bb9ea75a627addae12a6e6 (diff) | |
| download | chouette-core-62168dbda36bf760045bbfe6499c538880172a18.tar.bz2 | |
Add hidden field id to stop area
| -rw-r--r-- | app/views/stop_areas/_form.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/stop_areas/_form.html.erb b/app/views/stop_areas/_form.html.erb index ec9f2f1f0..237b98134 100644 --- a/app/views/stop_areas/_form.html.erb +++ b/app/views/stop_areas/_form.html.erb @@ -1,5 +1,6 @@ <%= semantic_form_for [@referential, @stop_area] do |form| %> <%= form.inputs do %> + <%= form.input :id, :as => :hidden %> <%= form.input :name %> <%= form.input :stop_area_type, :as => :select, :input_html => { :disabled => !@stop_area.new_record? }, :collection => Chouette::StopArea.stop_area_types, :include_blank => false, :member_label => Proc.new { |stop_area_type| t("area_types.label.#{stop_area_type}") } %> |
