add counter to admin new interface for procedure detail, on the champ card
This commit is contained in:
parent
8c5308b9dc
commit
3ed7d6605d
1 changed files with 12 additions and 5 deletions
|
@ -35,12 +35,19 @@
|
||||||
|
|
||||||
- if !@procedure.locked?
|
- if !@procedure.locked?
|
||||||
.card-admin
|
.card-admin
|
||||||
|
- if @procedure.types_de_champ.count > 0
|
||||||
|
%div
|
||||||
|
%span.icon.accept
|
||||||
|
%p.card-admin-status-accept Validé
|
||||||
|
- else
|
||||||
|
%div
|
||||||
|
%span.icon.clock
|
||||||
|
%p.card-admin-status-todo À faire
|
||||||
%div
|
%div
|
||||||
%span.icon.clock
|
%p.card-admin-title
|
||||||
%p.card-admin-status-todo À faire
|
%span.badge.baseline= @procedure.types_de_champ.count
|
||||||
%div
|
Champs du formulaire
|
||||||
%p.card-admin-title Formulaire
|
%p.card-admin-subtitle À remplir par les usagers
|
||||||
%p.card-admin-subtitle Champs à remplir par les usagers
|
|
||||||
.card-admin-action
|
.card-admin-action
|
||||||
= link_to 'Modifier', champs_admin_procedure_path(@procedure), class: 'button'
|
= link_to 'Modifier', champs_admin_procedure_path(@procedure), class: 'button'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue