diff options
| author | Luc Donnet | 2012-03-26 16:43:47 +0200 |
|---|---|---|
| committer | Luc Donnet | 2012-03-26 16:43:47 +0200 |
| commit | da46df7d4edc5ec66f416114fa85f0dce5e8d27d (patch) | |
| tree | ec76b113a8c2a82499e1e59b6d5be48bbeb326b9 /app | |
| parent | d7a4c9b0362ab0b2e8bae85f36b90139c7607d90 (diff) | |
| download | chouette-core-da46df7d4edc5ec66f416114fa85f0dce5e8d27d.tar.bz2 | |
Fix area type selection
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/stop_areas/_form.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stop_areas/_form.html.erb b/app/views/stop_areas/_form.html.erb index 7008b8292..dc953f5e0 100644 --- a/app/views/stop_areas/_form.html.erb +++ b/app/views/stop_areas/_form.html.erb @@ -7,7 +7,7 @@ <%= form.input :country_code %> <%= form.input :fare_code %> <%= form.input :registration_number %> - <%= form.input :type, :as => :select, :collection => Chouette::StopArea.types, :include_blank => false, :member_label => Proc.new { |mode| t("area_types.label.#{mode}") } %> + <%= form.input :area_type, :as => :select, :collection => Chouette::StopArea.types, :include_blank => false, :member_label => Proc.new { |type| t("area_types.label.#{type}") } %> <% if @stop_area.new_record? %> <%= form.input :objectid %> <% else %> |
