Fix LineLength
haml-lint in t
usage (#28686)
This commit is contained in:
parent
0a7cff53c2
commit
6daa69327b
6 changed files with 24 additions and 7 deletions
|
@ -4,7 +4,11 @@
|
|||
.simple_form
|
||||
%h1.title= t('mail_subscriptions.unsubscribe.title')
|
||||
%p.lead
|
||||
= t('mail_subscriptions.unsubscribe.confirmation_html', domain: content_tag(:strong, site_hostname), type: content_tag(:strong, I18n.t(@type, scope: 'mail_subscriptions.unsubscribe.emails')), email: content_tag(:strong, @user.email), settings_path: settings_preferences_notifications_path)
|
||||
= t 'mail_subscriptions.unsubscribe.confirmation_html',
|
||||
domain: content_tag(:strong, site_hostname),
|
||||
type: content_tag(:strong, I18n.t(@type, scope: 'mail_subscriptions.unsubscribe.emails')),
|
||||
email: content_tag(:strong, @user.email),
|
||||
settings_path: settings_preferences_notifications_path
|
||||
|
||||
= form_tag unsubscribe_path, method: :post do
|
||||
= hidden_field_tag :token, params[:token]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue