|
|
@ -1,7 +1,10 @@
|
|
|
|
- content_for :page_title do
|
|
|
|
- content_for :page_title do
|
|
|
|
= t('settings.notifications')
|
|
|
|
= t('settings.notifications')
|
|
|
|
|
|
|
|
|
|
|
|
= simple_form_for current_user, url: settings_preferences_notifications_path, html: { method: :put } do |f|
|
|
|
|
- content_for :heading_actions do
|
|
|
|
|
|
|
|
= button_tag t('generic.save_changes'), class: 'button', form: 'edit_notification'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
= simple_form_for current_user, url: settings_preferences_notifications_path, html: { method: :put, id: 'edit_notification' } do |f|
|
|
|
|
= render 'shared/error_messages', object: current_user
|
|
|
|
= render 'shared/error_messages', object: current_user
|
|
|
|
|
|
|
|
|
|
|
|
%h4= t 'notifications.email_events'
|
|
|
|
%h4= t 'notifications.email_events'
|
|
|
@ -32,6 +35,3 @@
|
|
|
|
= ff.input :must_be_follower, as: :boolean, wrapper: :with_label
|
|
|
|
= ff.input :must_be_follower, as: :boolean, wrapper: :with_label
|
|
|
|
= ff.input :must_be_following, as: :boolean, wrapper: :with_label
|
|
|
|
= ff.input :must_be_following, as: :boolean, wrapper: :with_label
|
|
|
|
= ff.input :must_be_following_dm, as: :boolean, wrapper: :with_label
|
|
|
|
= ff.input :must_be_following_dm, as: :boolean, wrapper: :with_label
|
|
|
|
|
|
|
|
|
|
|
|
.actions
|
|
|
|
|
|
|
|
= f.button :button, t('generic.save_changes'), type: :submit
|
|
|
|
|
|
|
|