ajout de labels invisibles sur les champs d'invitation
This commit is contained in:
parent
1a58dd69c2
commit
5321f7c708
2 changed files with 6 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
||||||
|
|
||||||
input[type=email] {
|
input[type=email] {
|
||||||
width: auto;
|
width: auto;
|
||||||
margin-bottom: 0;
|
margin-bottom: $default-spacer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
|
|
|
@ -15,8 +15,12 @@
|
||||||
= form_tag dossier_invites_path(dossier), remote: true, method: :post, class: 'form' do
|
= form_tag dossier_invites_path(dossier), remote: true, method: :post, class: 'form' do
|
||||||
.row
|
.row
|
||||||
.col
|
.col
|
||||||
= email_field_tag :invite_email, '', class: 'small', placeholder: 'adresse email', required: true
|
%span
|
||||||
|
= label_tag :invite_email, "Adresse email"
|
||||||
|
= email_field_tag :invite_email, '', class: 'small', placeholder: 'Adresse email', required: true
|
||||||
.col
|
.col
|
||||||
|
%span
|
||||||
|
= label_tag :invite_message, "Ajouter un message à la personne invitée (optionnel)"
|
||||||
= text_area_tag :invite_message, '', class: 'small', placeholder: 'Ajouter un message à la personne invitée (optionnel)'
|
= text_area_tag :invite_message, '', class: 'small', placeholder: 'Ajouter un message à la personne invitée (optionnel)'
|
||||||
.col
|
.col
|
||||||
= submit_tag 'Envoyer une invitation', class: 'button accepted'
|
= submit_tag 'Envoyer une invitation', class: 'button accepted'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue