fix linter
This commit is contained in:
parent
1335a3192c
commit
a1ace0f173
1 changed files with 6 additions and 6 deletions
|
@ -79,12 +79,12 @@ module DossierHelper
|
|||
|
||||
def status_badge(state, alignment_class = '')
|
||||
status_text = dossier_display_state(state, lower: true)
|
||||
tag.span status_text, role: 'status', class: class_names(
|
||||
'fr-badge fr-badge--sm' => true,
|
||||
'fr-badge--no-icon' => [Dossier.states.fetch(:en_instruction), Dossier.states.fetch(:accepte)].include?(state),
|
||||
class_badge_state(state) => true,
|
||||
alignment_class => true
|
||||
)
|
||||
tag.span status_text, role: 'status', class: class_names(
|
||||
'fr-badge fr-badge--sm' => true,
|
||||
'fr-badge--no-icon' => [Dossier.states.fetch(:en_instruction), Dossier.states.fetch(:accepte)].include?(state),
|
||||
class_badge_state(state) => true,
|
||||
alignment_class => true
|
||||
)
|
||||
end
|
||||
|
||||
def deletion_reason_badge(reason)
|
||||
|
|
Loading…
Reference in a new issue