diff options
| author | Michel Etienne | 2014-09-11 16:55:07 +0200 | 
|---|---|---|
| committer | Michel Etienne | 2014-09-11 16:55:07 +0200 | 
| commit | 06ff98378cc619a111e9f105424c920aa21561dc (patch) | |
| tree | 050a0662e2a1e0d8357177118d97512d9d51fb55 /app/views/import_tasks | |
| parent | 76b7562ba2710a495dfe0700cca90ed70eee8bef (diff) | |
| download | chouette-core-06ff98378cc619a111e9f105424c920aa21561dc.tar.bz2 | |
internationalize and add comments on exchange formats
Diffstat (limited to 'app/views/import_tasks')
| -rw-r--r-- | app/views/import_tasks/new.html.erb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/app/views/import_tasks/new.html.erb b/app/views/import_tasks/new.html.erb index 337312db6..65daee0ca 100644 --- a/app/views/import_tasks/new.html.erb +++ b/app/views/import_tasks/new.html.erb @@ -2,7 +2,7 @@  <%= semantic_form_for([@referential, @import_task], :as => :import_task, :url => new_referential_import_task_path(@referential), :method => :get) do |form| %>    <%= form.inputs do %> -    <%= form.input :format, :as => :radio, :collection => ImportTask.formats, :required => true, :include_blank => false %> +    <%= form.input :format, :as => :radio, :collection => ImportTask.formats.map { |format| [ ImportTask.format_label(format), format]}, :required => true, :include_blank => false %>    <% end %>  <% end %> | 
