Add lang attribute on preview card title (#31303)

pull/2809/head
Christian Schmidt 2024-08-09 15:05:34 +02:00 committed by GitHub
parent 994ef16b72
commit e29c401f77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -4,12 +4,12 @@
.batch-table__row__content.pending-account
.pending-account__header
= link_to preview_card.title, url_for_preview_card(preview_card)
= link_to preview_card.title, url_for_preview_card(preview_card), lang: preview_card.language
%br/
- if preview_card.provider_name.present?
= preview_card.provider_name
%span{ lang: preview_card.language }= preview_card.provider_name
·
- if preview_card.language.present?