aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/referential_lines
diff options
context:
space:
mode:
authorjpl2017-02-22 10:23:31 +0100
committerjpl2017-02-22 10:23:31 +0100
commitbe6d884601150fc96c29a7ad17ec9340caba0087 (patch)
tree035cc6e82f83697e267ac167aca047b540c2c190 /app/views/referential_lines
parent0777b3af6bc7c24ef9b98e00bb7b76bffdc5d632 (diff)
downloadchouette-core-be6d884601150fc96c29a7ad17ec9340caba0087.tar.bz2
Refs #2629: adding switch comp. updating route form
Diffstat (limited to 'app/views/referential_lines')
-rw-r--r--app/views/referential_lines/show.html.slim2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/referential_lines/show.html.slim b/app/views/referential_lines/show.html.slim
index 2e06d33a8..3bf9a11a2 100644
--- a/app/views/referential_lines/show.html.slim
+++ b/app/views/referential_lines/show.html.slim
@@ -11,7 +11,7 @@
= link_to t('lines.actions.show_company'), [@referential, @line.company], class: 'btn btn-primary'
= link_to @line.human_attribute_name(:footnotes), referential_line_footnotes_path(@referential, @line), class: 'btn btn-primary'
- = link_to Chouette::RoutingConstraintZone.model_name.human.pluralize(:fr), referential_line_routing_constraint_zones_path(@referential, @line), class: 'btn btn-primary disabled'
+ = link_to Chouette::RoutingConstraintZone.model_name.human.pluralize(:fr), referential_line_routing_constraint_zones_path(@referential, @line), class: 'btn btn-primary'
- if policy(Chouette::Line).create? && @referential.organisation == current_organisation
= link_to t('lines.actions.new'), new_referential_line_path(@referential), class: 'btn btn-primary'