diff options
| author | Robert | 2017-04-21 17:37:14 +0200 | 
|---|---|---|
| committer | Robert | 2017-04-24 09:03:11 +0200 | 
| commit | 365e927cc18b46af00e3c2f0754aabe3b77e890f (patch) | |
| tree | dedaea93d79c077538fab8ffb10e9e39d35ce56f /app/views/networks | |
| parent | b5d3dc6e1f0120a999af4be3693f3fdc95a727a4 (diff) | |
| download | chouette-core-365e927cc18b46af00e3c2f0754aabe3b77e890f.tar.bz2 | |
all deprecation wrnings removed from specs, some minor view refactors (:xxx => ... -> xxx: ...); Refs: #??? [amend me]
Diffstat (limited to 'app/views/networks')
| -rw-r--r-- | app/views/networks/_form.html.slim | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/app/views/networks/_form.html.slim b/app/views/networks/_form.html.slim index f7b97c27d..7b048edc9 100644 --- a/app/views/networks/_form.html.slim +++ b/app/views/networks/_form.html.slim @@ -6,10 +6,10 @@      = form.input :version_date, as: :date_picker      = form.input :description      = form.input :source_name -    = form.input :source_type_name, as: :select, :collection => Chouette::Network.source_type_names, :include_blank => true, :member_label => Proc.new { |mode| t("source_types.label.#{mode}") } +    = form.input :source_type_name, as: :select, :collection => source_type_name_label_pairs, :include_blank => true      = form.input :source_identifier      = form.input :objectid, :required => !@network.new_record?, :input_html => { :title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.network.objectid")}    = form.actions do      = form.action :submit, as: :button -    = form.action :cancel, as: :link
\ No newline at end of file +    = form.action :cancel, as: :link | 
