diff options
| -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' |
