mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-11 20:54:38 +08:00
9 lines
406 B
PHP
9 lines
406 B
PHP
|
<form action="{{ $entity->getUrl('/') }}" method="GET">
|
||
|
{{ csrf_field() }}
|
||
|
<input type="hidden" name="type" value="{{ get_class($entity) }}">
|
||
|
<input type="hidden" name="id" value="{{ $entity->id }}">
|
||
|
<button type="submit" data-shortcut="favourite" class="icon-list-item text-link">
|
||
|
<span>@icon('watch')</span>
|
||
|
<span>{{ trans('entities.watch') }}</span>
|
||
|
</button>
|
||
|
</form>
|