Properly style the button when there is a motivation or attestation
This commit is contained in:
parent
5c92989fc8
commit
10f1859a2a
3 changed files with 25 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
module DossierHelper
|
||||
def label_class(dossier)
|
||||
def button_or_label_class(dossier)
|
||||
if dossier.closed?
|
||||
'accepted'
|
||||
elsif dossier.without_continuation?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue