Explain context of the 'revoke authorization' link to assistive technologies
This commit is contained in:
parent
fd049f6025
commit
e21ebc75e1
1 changed files with 4 additions and 4 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue