@extends('layouts.simple') @section('body')
{{ method_field('put') }} {{ csrf_field() }}

{{ trans('preferences.notifications') }}

{{ trans('preferences.notifications_desc') }}

@include('form.toggle-switch', [ 'name' => 'preferences[own-page-changes]', 'value' => $preferences->notifyOnOwnPageChanges(), 'label' => trans('preferences.notifications_opt_own_page_changes'), ])
@include('form.toggle-switch', [ 'name' => 'preferences[own-page-comments]', 'value' => $preferences->notifyOnOwnPageComments(), 'label' => trans('preferences.notifications_opt_own_page_comments'), ])
@include('form.toggle-switch', [ 'name' => 'preferences[comment-replies]', 'value' => $preferences->notifyOnCommentReplies(), 'label' => trans('preferences.notifications_opt_comment_replies'), ])
@stop