editable_champs: move the label near the checkbox
This commit is contained in:
parent
43bbbacd59
commit
3ba5d654ba
4 changed files with 28 additions and 6 deletions
|
@ -2,5 +2,3 @@
|
|||
{ required: champ.mandatory? },
|
||||
'on',
|
||||
'off'
|
||||
|
||||
%br
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.editable-champ
|
||||
- if is_not_header_nor_explication?(champ)
|
||||
.editable-champ{ class: "editable-champ-#{champ.type_champ}" }
|
||||
- if has_label?(champ)
|
||||
= render partial: 'shared/dossiers/editable_champs/champ_label', locals: { form: form, champ: champ, seen_at: defined?(seen_at) ? seen_at : nil }
|
||||
|
||||
= render partial: "shared/dossiers/editable_champs/#{champ.type_champ}",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue