2022-06-15 10:05:08 -04:00
|
|
|
<div class="content-wrap card auto-height">
|
2022-06-19 11:23:18 -04:00
|
|
|
<h2 class="list-heading">{{ trans('entities.convert_to_shelf') }}</h2>
|
2022-06-15 10:05:08 -04:00
|
|
|
<p>
|
2022-06-19 11:23:18 -04:00
|
|
|
{{ trans('entities.convert_to_shelf_contents_desc') }}
|
2022-06-15 10:05:08 -04:00
|
|
|
<br><br>
|
2022-06-19 11:23:18 -04:00
|
|
|
{{ trans('entities.convert_to_shelf_permissions_desc') }}
|
2022-06-15 10:05:08 -04:00
|
|
|
</p>
|
|
|
|
<div class="text-right">
|
|
|
|
<div component="dropdown" class="dropdown-container">
|
2022-06-19 11:23:18 -04:00
|
|
|
<button refs="dropdown@toggle" class="button outline" aria-haspopup="true" aria-expanded="false">{{ trans('entities.convert_book') }}</button>
|
2022-06-15 10:05:08 -04:00
|
|
|
<ul refs="dropdown@menu" class="dropdown-menu" role="menu">
|
|
|
|
<li class="px-m py-s text-small text-muted">
|
2022-06-19 11:23:18 -04:00
|
|
|
{{ trans('entities.convert_book_confirm') }}
|
2022-06-15 10:05:08 -04:00
|
|
|
<br>
|
2022-06-19 11:23:18 -04:00
|
|
|
{{ trans('entities.convert_undo_warning') }}
|
2022-06-15 10:05:08 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<form action="{{ $book->getUrl('/convert-to-shelf') }}" method="POST">
|
|
|
|
{!! csrf_field() !!}
|
|
|
|
<button type="submit" class="text-primary text-item">{{ trans('common.confirm') }}</button>
|
|
|
|
</form>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|