diff options
| author | jpl | 2017-03-17 12:31:03 +0100 | 
|---|---|---|
| committer | jpl | 2017-03-17 12:31:03 +0100 | 
| commit | 4953153ac70f7adb68cea8b3f7f48181db8ae22f (patch) | |
| tree | 61926f2dd940afb446e9fa096d0d2a1f5ad00a63 /app/views | |
| parent | 3f1cec7ab325564be6a7009e17224379e987f4fe (diff) | |
| download | chouette-core-4953153ac70f7adb68cea8b3f7f48181db8ae22f.tar.bz2 | |
Fix i18n issues
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/routing_constraint_zones/_form.html.slim | 2 | ||||
| -rw-r--r-- | app/views/workbenches/show.html.slim | 1 | 
2 files changed, 2 insertions, 1 deletions
| diff --git a/app/views/routing_constraint_zones/_form.html.slim b/app/views/routing_constraint_zones/_form.html.slim index 5f33e2649..afc993a0f 100644 --- a/app/views/routing_constraint_zones/_form.html.slim +++ b/app/views/routing_constraint_zones/_form.html.slim @@ -1,7 +1,7 @@  = simple_form_for [@referential, @line, @routing_constraint_zone] do |f|    .row      .col-lg-6.col-sm-12 -      = f.input :name, label: t('activerecord.models.attributes.routing_constraint_zone.name') +      = f.input :name    .row      .col-lg-6.col-sm-12        / Temporarily limit the collection to 10 items... otherwise it kills RoR diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim index 5d60863c3..223284523 100644 --- a/app/views/workbenches/show.html.slim +++ b/app/views/workbenches/show.html.slim @@ -30,6 +30,7 @@                :organisation => Proc.new {|w| w.organisation.name},                :validity_period => Proc.new {|w| w.validity_period.nil? ? '-' : t('validity_range', debut: l(w.try(:validity_period).try(:begin), format: :short), end: l(w.try(:validity_period).try(:end), format: :short))},                :lines => Proc.new {|w| w.lines.count}, +              :created_at => Proc.new {|w| l(w.created_at, format: :short)},                :updated_at => Proc.new {|w| l(w.updated_at, format: :short)},                :published_at => ''},              [:show, :edit, :archive, :unarchive, :delete], | 
