diff options
| author | Robert | 2017-05-31 16:42:11 +0200 |
|---|---|---|
| committer | Robert | 2017-05-31 16:42:11 +0200 |
| commit | 57771cd083c14cb915445bd8f2ca96b8c0035f2a (patch) | |
| tree | e4d5ac90ed54a010c41a85b701029086761b2a8d | |
| parent | 44f068fbcc52ff9c3f35de05178ea8581a79ec5a (diff) | |
| download | chouette-core-57771cd083c14cb915445bd8f2ca96b8c0035f2a.tar.bz2 | |
Fixes: #3174
| -rw-r--r-- | app/views/referentials/show.html.slim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/views/referentials/show.html.slim b/app/views/referentials/show.html.slim index befa851ab..cad076e2c 100644 --- a/app/views/referentials/show.html.slim +++ b/app/views/referentials/show.html.slim @@ -80,4 +80,5 @@ .modal-footer button.btn.btn-link type='button' data-dismiss='modal' Annuler - = f.button :submit, t('actions.clean_up') , class: 'btn btn-primary' + - unless policy(@referential).archived? + = buttonf.button :submit, t('actions.clean_up') , class: 'btn btn-primary' |
