diff options
| author | Xinhui | 2018-01-12 12:20:15 +0100 |
|---|---|---|
| committer | Xinhui | 2018-01-12 12:20:15 +0100 |
| commit | 1e99cd701baed71aa11c002dd43b95ca41d46bd9 (patch) | |
| tree | 1e78e58fbdd762a64fe1ba2d3aee0612ddb94507 /app | |
| parent | 6be4f648ed5f200af7dbe8843d24361c8c9f2b63 (diff) | |
| download | chouette-core-1e99cd701baed71aa11c002dd43b95ca41d46bd9.tar.bz2 | |
Add min value to waiting time
Refs #5585
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/stop_areas/_form.html.slim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stop_areas/_form.html.slim b/app/views/stop_areas/_form.html.slim index af8b9d889..b2322f73a 100644 --- a/app/views/stop_areas/_form.html.slim +++ b/app/views/stop_areas/_form.html.slim @@ -30,7 +30,7 @@ h3 = t("stop_areas.stop_area.general") - if has_feature?(:stop_area_waiting_time) - = f.input :waiting_time + = f.input :waiting_time, input_html: { min: 0 } = f.input :registration_number, required: format_restriction_for_locales(@referential) == '.hub', :input_html => {:title => t("formtastic.titles#{format_restriction_for_locales(@referential)}.stop_area.registration_number")} = f.input :fare_code |
