Properly style the button when there is a motivation or attestation

This commit is contained in:
gregoirenovel 2017-11-24 19:26:24 +01:00
parent 5c92989fc8
commit 10f1859a2a
3 changed files with 25 additions and 3 deletions

View file

@ -1,5 +1,5 @@
module DossierHelper
def label_class(dossier)
def button_or_label_class(dossier)
if dossier.closed?
'accepted'
elsif dossier.without_continuation?