[Fix #1677] Do not show 'submit' button to invités

This commit is contained in:
Frederic Merizen 2018-03-28 16:39:35 +02:00
parent dd219d5d40
commit 33f7b03ff2

View file

@ -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...' }