rename .label-not-label class into .form-label
This commit is contained in:
parent
d49f6e703e
commit
2ecb9cd5a2
4 changed files with 9 additions and 9 deletions
|
@ -44,6 +44,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-label {
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 18px;
|
||||||
|
margin-bottom: $default-padding;
|
||||||
|
}
|
||||||
|
|
||||||
.notice {
|
.notice {
|
||||||
@include notice-text-style;
|
@include notice-text-style;
|
||||||
margin-top: - $default-spacer;
|
margin-top: - $default-spacer;
|
||||||
|
@ -373,12 +379,6 @@
|
||||||
margin-bottom: $default-padding;
|
margin-bottom: $default-padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
.label-not-label {
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 18px;
|
|
||||||
margin-bottom: $default-padding;
|
|
||||||
}
|
|
||||||
|
|
||||||
.explication {
|
.explication {
|
||||||
margin-bottom: $default-fields-spacer;
|
margin-bottom: $default-fields-spacer;
|
||||||
padding: $default-padding / 2;
|
padding: $default-padding / 2;
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
= label_tag :dossier_id, "Numéro de dossier", class: 'hidden'
|
= label_tag :dossier_id, "Numéro de dossier", class: 'hidden'
|
||||||
= text_field_tag :dossier_id, "", placeholder: "Numéro de dossier"
|
= text_field_tag :dossier_id, "", placeholder: "Numéro de dossier"
|
||||||
%button{ title: "Rechercher" }
|
%button{ title: "Rechercher" }
|
||||||
= image_tag "icons/search-blue.svg", alt: '', 'aria-hidden':'true'
|
= image_tag "icons/search-blue.svg", alt: 'Rechercher', 'aria-hidden':'true'
|
||||||
|
|
||||||
- if instructeur_signed_in? || user_signed_in?
|
- if instructeur_signed_in? || user_signed_in?
|
||||||
%li
|
%li
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
= # we do this trick because some html elements should use 'label' and some should be plain paragraphs
|
= # we do this trick because some html elements should use 'label' and some should be plain paragraphs
|
||||||
- if has_html_label?(champ)
|
- if has_html_label?(champ)
|
||||||
%h2.label-not-label
|
%h4.form-label
|
||||||
= render partial: 'shared/dossiers/editable_champs/champ_label_content', locals: { champ: champ, seen_at: seen_at }
|
= render partial: 'shared/dossiers/editable_champs/champ_label_content', locals: { champ: champ, seen_at: seen_at }
|
||||||
- else
|
- else
|
||||||
= form.label champ.main_value_name do
|
= form.label champ.main_value_name do
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
%p.mb-1 Merci de remplir vos informations personnelles pour accéder à la démarche.
|
%p.mb-1 Merci de remplir vos informations personnelles pour accéder à la démarche.
|
||||||
|
|
||||||
%span.label-not-label
|
%span.form-label
|
||||||
%span.mandatory *
|
%span.mandatory *
|
||||||
champs requis
|
champs requis
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue