correctif(profil#show): un champ a moitié invisible qui n'était pas thémé au DSFR

This commit is contained in:
Martin 2023-10-03 15:29:52 +02:00
parent 6abd0f8db0
commit 8e036152f1
3 changed files with 13 additions and 6 deletions

View file

@ -48,8 +48,15 @@
.card-title= t('.transfer_title')
= t('.transfer_explication_html')
= form_tag transfer_all_dossiers_path, class: 'form' do
= email_field_tag :next_owner, nil, required: true
= form_tag transfer_all_dossiers_path do
.fr-input-group
= label_tag 'next_owner', class: "fr-label" do
= t('.transfer_next_owner_label')
= render EditableChamp::AsteriskMandatoryComponent.new
%span.fr-hint-text= t('activerecord.attributes.user.hints.email')
= email_field_tag :next_owner, nil, required: true, id: 'next_owner', class: 'fr-input'
= submit_tag t('.transfer_my_files'), class: 'fr-btn fr-btn--secondary', data: { confirm: t('.transfer_confirmation') }
- if @waiting_transfers.present?

View file

@ -8,8 +8,8 @@ en:
new_email_address: New email address
change_address: Change my address
transfer_title: Transfer all your files
transfer_explication_html: "<p>This feature allows you to change the owner of all your files. This is usually useful when changing jobs or if you want to merge several accounts.</p>
<p>Email address of the recipient of all your files</p>"
transfer_explication_html: "<p>This feature allows you to change the owner of all your files. This is usually useful when changing jobs or if you want to merge several accounts.</p>"
transfer_next_owner_label: "Email of the next owner of your files"
waiting_transfers: "Pending Transfers :"
one_waiting_transfer:
one: "The new owner %{email} must confirm the transfer of a file by following the instructions received in their email."

View file

@ -8,8 +8,8 @@ fr:
your_email: Votre email est actuellement
change_address: Changer mon adresse
transfer_title: Transférer tous vos dossiers
transfer_explication_html: "<p>Cette fonctionnalité vous permet de changer le propriétaire de tous vos dossiers. Cest généralement utile lors dun changement de poste ou si vous souhaitez fusionner plusieurs comptes.</p>
<p>Adresse email du destinataire de tous vos dossiers</p>"
transfer_explication_html: "<p>Cette fonctionnalité vous permet de changer le propriétaire de tous vos dossiers. Cest généralement utile lors dun changement de poste ou si vous souhaitez fusionner plusieurs comptes.</p>"
transfer_next_owner_label: "Adresse électronique du prochain propriétaire de tous vos dossiers"
waiting_transfers: "Transfert en attente :"
one_waiting_transfer:
one: "Le nouveau propriétaire %{email} doit confirmer le transfert dun dossier en suivant les instructions reçues dans son mail."