aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/access_links
diff options
context:
space:
mode:
authorRobert2017-04-21 17:37:14 +0200
committerRobert2017-04-24 09:03:11 +0200
commit365e927cc18b46af00e3c2f0754aabe3b77e890f (patch)
treededaea93d79c077538fab8ffb10e9e39d35ce56f /app/views/access_links
parentb5d3dc6e1f0120a999af4be3693f3fdc95a727a4 (diff)
downloadchouette-core-365e927cc18b46af00e3c2f0754aabe3b77e890f.tar.bz2
all deprecation wrnings removed from specs, some minor view refactors (:xxx => ... -> xxx: ...); Refs: #??? [amend me]
Diffstat (limited to 'app/views/access_links')
-rw-r--r--app/views/access_links/_form.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/access_links/_form.html.slim b/app/views/access_links/_form.html.slim
index db5ed2d9b..429656115 100644
--- a/app/views/access_links/_form.html.slim
+++ b/app/views/access_links/_form.html.slim
@@ -5,7 +5,7 @@
= form.input :stop_area_id , as: :hidden
= 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: true, member_label: Proc.new { |type| t("connection_link_types.label.#{type}") }
+ = form.input :access_link_type, as: :select, collection: access_link_type_label_pairs, include_blank: true
= form.input :comment
= form.input :link_distance
= form.input :mobility_restricted_suitability, as: :select, collection: [[t("true"), true], [t("false"), false]], include_blank: true