~cytrogen/masto-fe

ref: 4a9cdfb928fe85581f035f72e0ea3870db03c3c8 masto-fe/app/views/mail_subscriptions/show.html.haml -rw-r--r-- 662 bytes
4a9cdfb9 — Claire Merge commit '774e1189d26fffd914107a4236f6287043c988f8' into glitch-soc/merge-upstream 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
- content_for :page_title do
  = t('mail_subscriptions.unsubscribe.title')

.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)

  = form_tag unsubscribe_path, method: :post do
    = hidden_field_tag :token, params[:token]
    = hidden_field_tag :type, params[:type]
    = button_tag t('mail_subscriptions.unsubscribe.action'), type: :submit