[Fix #1677] Do not show 'submit' button to invités
This commit is contained in:
parent
dd219d5d40
commit
33f7b03ff2
1 changed files with 4 additions and 3 deletions
|
@ -52,6 +52,7 @@
|
|||
class: 'button send',
|
||||
data: { action: 'draft', disable_with: 'Envoi...' }
|
||||
|
||||
- if @dossier.user == current_user
|
||||
= f.button 'Soumettre le dossier',
|
||||
class: 'button send primary',
|
||||
data: { action: 'submit', disable_with: 'Envoi...' }
|
||||
|
|
Loading…
Reference in a new issue