feat(dossier_transfer/email): require email in browser side
This commit is contained in:
parent
d53aba4d24
commit
11a9a6f53f
2 changed files with 2 additions and 2 deletions
|
@ -4,6 +4,6 @@
|
||||||
|
|
||||||
= form_for @transfer, url: transfers_path, html: { class: 'form mt-2' } do |f|
|
= form_for @transfer, url: transfers_path, html: { class: 'form mt-2' } do |f|
|
||||||
= f.label :email, 'Email du compte destinataire'
|
= f.label :email, 'Email du compte destinataire'
|
||||||
= f.email_field :email
|
= f.email_field :email, required: true
|
||||||
= f.hidden_field :dossier, value: dossier.id
|
= f.hidden_field :dossier, value: dossier.id
|
||||||
= f.submit "Envoyer la demande de transfert", class: 'button primary'
|
= f.submit "Envoyer la demande de transfert", class: 'button primary'
|
||||||
|
|
|
@ -3,5 +3,5 @@
|
||||||
|
|
||||||
= form_for @transfer, url: transfers_path, html: { class: 'form mt-2' } do |f|
|
= form_for @transfer, url: transfers_path, html: { class: 'form mt-2' } do |f|
|
||||||
= f.label :email, 'Email du compte destinataire'
|
= f.label :email, 'Email du compte destinataire'
|
||||||
= f.email_field :email
|
= f.email_field :email, required: true
|
||||||
= f.submit "Envoyer la demande de transfert", class: 'button primary'
|
= f.submit "Envoyer la demande de transfert", class: 'button primary'
|
||||||
|
|
Loading…
Reference in a new issue