1 <form action="{{ $entity->getUrl('/') }}" method="GET">
2 {{-- {{ method_field('PUT') }}--}}
4 <input type="hidden" name="type" value="{{ get_class($entity) }}">
5 <input type="hidden" name="id" value="{{ $entity->id }}">
7 <ul refs="dropdown@menu" class="dropdown-menu xl-limited anchor-left pb-none">
8 @foreach(\BookStack\Users\UserWatchOptions::getAvailableOptionNames() as $option)
10 <button name="level" value="{{ $option }}" class="icon-item">
11 @if(request()->query('level') === $option)
12 <span class="text-pos pt-m" title="{{ trans('common.status_active') }}">@icon('check-circle')</span>
14 <span title="{{ trans('common.status_inactive') }}"></span>
16 <div class="break-text">
17 <div class="mb-xxs"><strong>{{ trans('entities.watch_title_' . $option) }}</strong></div>
18 <div class="text-muted text-small">
19 {{ trans('entities.watch_desc_' . $option) }}
24 <li><hr class="my-none"></li>
27 <a href="{{ url('/preferences/notifications') }}"
29 class="text-item text-muted text-small break-text">{{ trans('entities.watch_change_default') }}</a>