form: improve the appearance of the repetitions header
This commit is contained in:
parent
005ff4bed5
commit
2b47013798
2 changed files with 8 additions and 2 deletions
|
@ -319,6 +319,12 @@
|
|||
border-bottom: 3px solid $blue;
|
||||
}
|
||||
|
||||
.header-subsection {
|
||||
font-size: 22px;
|
||||
color: $blue;
|
||||
margin-bottom: $default-padding;
|
||||
}
|
||||
|
||||
.explication-libelle {
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
.editable-champ{ class: "editable-champ-#{champ.type_champ}" }
|
||||
- if champ.repetition?
|
||||
= render partial: 'shared/dossiers/editable_champs/header_section', locals: { champ: champ }
|
||||
|
||||
%h3.header-subsection= champ.libelle
|
||||
- if champ.description.present?
|
||||
%p.notice= string_to_html(champ.description, false)
|
||||
|
||||
- elsif has_label?(champ)
|
||||
= render partial: 'shared/dossiers/editable_champs/champ_label', locals: { form: form, champ: champ, seen_at: defined?(seen_at) ? seen_at : nil }
|
||||
|
||||
|
|
Loading…
Reference in a new issue