Explain context of the 'revoke authorization' link to assistive technologies

This commit is contained in:
Corinne Durrmeyer 2024-10-18 17:06:03 +02:00
parent fd049f6025
commit e21ebc75e1
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6

View file

@ -4,13 +4,13 @@
%h5.fr-h6= t('views.invites.form.edit_dossier', count: invites.size)
- if invites.present?
#invite-list{ morphing ? { tabindex: "-1" } : {} }
#invite-list
%ul
- invites.each do |invite|
- invites.each_with_index do |invite, index|
%li
= invite.email
%span{ :id => "invite_#{index}" }= invite.email
%small{ 'data-turbo': 'true' }
= link_to t('views.invites.form.withdraw_permission'), invite_path(invite), data: { turbo_method: :delete, turbo_confirm: t('views.invites.form.want_to_withdraw_permission', email: invite.email) }, class: "fr-btn fr-btn--sm fr-btn--tertiary-no-outline"
= link_to t('views.invites.form.withdraw_permission'), invite_path(invite), data: { turbo_method: :delete, turbo_confirm: t('views.invites.form.want_to_withdraw_permission', email: invite.email) }, class: "fr-btn fr-btn--sm fr-btn--tertiary-no-outline", id: "link_#{index}", "aria-labelledby": "link_#{index} invite_#{index}"
- if dossier.brouillon?
%p= t('views.invites.form.submit_dossier_yourself')