replace status_badge partial by status_badge helper
This commit is contained in:
parent
ba8cd8dde0
commit
72783fd8fd
5 changed files with 4 additions and 16 deletions
|
@ -1,12 +0,0 @@
|
|||
- if dossier.brouillon?
|
||||
%span.label.brouillon brouillon
|
||||
- elsif dossier.en_construction?
|
||||
%span.label.construction en construction
|
||||
- elsif dossier.en_instruction?
|
||||
%span.label.instruction en instruction
|
||||
- elsif dossier.accepte?
|
||||
%span.label.accepted accepté
|
||||
- elsif dossier.refuse?
|
||||
%span.label.refused refusé
|
||||
- elsif dossier.sans_suite?
|
||||
%span.label.without-continuation sans suite
|
Loading…
Add table
Add a link
Reference in a new issue