aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVlatka Pavisic2017-04-20 11:29:46 +0200
committerVlatka Pavisic2017-04-20 11:29:46 +0200
commit5fa880abef8d8bebbfb91f1db2ad9b99cdbcf341 (patch)
tree081597ec7a2ddcc284a83df9e3495d07776c671e
parent26923fae9be9b73bf6922f61421f20273dea9481 (diff)
downloadchouette-core-5fa880abef8d8bebbfb91f1db2ad9b99cdbcf341.tar.bz2
Refs #3146 : Add Imports button to workbenches#show
-rw-r--r--app/views/workbenches/show.html.slim1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/workbenches/show.html.slim b/app/views/workbenches/show.html.slim
index b46cf09a4..1025c1658 100644
--- a/app/views/workbenches/show.html.slim
+++ b/app/views/workbenches/show.html.slim
@@ -7,6 +7,7 @@
/ Below is secundary actions & optional contents (filters, ...)
.row.mb-sm
.col-lg-12.text-right
+ = link_to Import.model_name.human.pluralize.capitalize, workbench_imports_path(@workbench), class: 'btn btn-primary'
- if policy(Referential).create?
= link_to t('referentials.actions.new'), new_referential_path(workbench_id: @workbench), class: 'btn btn-primary'