diff options
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], |
