1 @extends('layouts.simple')
4 <div class="container small my-xl">
6 <section class="card content-wrap auto-height">
7 <form action="{{ url('/preferences/notifications') }}" method="post">
8 {{ method_field('put') }}
11 <h1 class="list-heading">{{ trans('preferences.notifications') }}</h1>
12 <p class="text-small text-muted">{{ trans('preferences.notifications_desc') }}</p>
14 <div class="toggle-switch-list">
16 @include('form.toggle-switch', [
17 'name' => 'preferences[own-page-changes]',
18 'value' => $preferences->notifyOnOwnPageChanges(),
19 'label' => trans('preferences.notifications_opt_own_page_changes'),
23 @include('form.toggle-switch', [
24 'name' => 'preferences[own-page-comments]',
25 'value' => $preferences->notifyOnOwnPageComments(),
26 'label' => trans('preferences.notifications_opt_own_page_comments'),
30 @include('form.toggle-switch', [
31 'name' => 'preferences[comment-replies]',
32 'value' => $preferences->notifyOnCommentReplies(),
33 'label' => trans('preferences.notifications_opt_comment_replies'),
38 <div class="form-group text-right">
39 <button class="button">{{ trans('preferences.notifications_save') }}</button>