fix(attestation): marianne label until 5 lines because of Economie & Finances long name
This commit is contained in:
parent
3c22f4ea48
commit
4a45fdb3d6
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@
|
||||||
Je souhaite générer une attestation à la charte de l’état (logo avec Marianne)
|
Je souhaite générer une attestation à la charte de l’état (logo avec Marianne)
|
||||||
|
|
||||||
.fr-fieldset__element{ class: class_names("hidden" => !@attestation_template.official_layout?), data: { "attestation-target": 'logoMarianneLabelFieldset'} }
|
.fr-fieldset__element{ class: class_names("hidden" => !@attestation_template.official_layout?), data: { "attestation-target": 'logoMarianneLabelFieldset'} }
|
||||||
= render Dsfr::InputComponent.new(form: f, attribute: :label_logo, input_type: :text_area, required: @attestation_template.official_layout?, opts: { rows: 3, data: { controller: :textarea, textarea_max_rows_value: 3 } }) do |c|
|
= render Dsfr::InputComponent.new(form: f, attribute: :label_logo, input_type: :text_area, required: @attestation_template.official_layout?, opts: { rows: 3, data: { controller: :textarea, textarea_max_rows_value: 5 } }) do |c|
|
||||||
- c.with_hint { "Exemple: Ministère de la Mer. 3 lignes maximum" }
|
- c.with_hint { "Exemple: Ministère de la Mer. 5 lignes maximum" }
|
||||||
|
|
||||||
.fr-fieldset__element{ data: { attestation_target: 'logoAttachmentFieldset' } }
|
.fr-fieldset__element{ data: { attestation_target: 'logoAttachmentFieldset' } }
|
||||||
%label.fr-label{ for: field_id(@attestation_template, :logo) }
|
%label.fr-label{ for: field_id(@attestation_template, :logo) }
|
||||||
|
|
Loading…
Reference in a new issue