BookStack/resources/views/users/api-tokens/parts/form.blade.php
Dan Brown a61c9c5e98
Reorgranised blade view files to form a convention
- Primarily moved and re-organised view files.
- Included readme within views to document the convention.
- Fixed some issues with page field select list in previous commit.
- Tweaked some route names while going through.
- Split some views out further.

Closes #2805
2021-08-22 13:17:32 +01:00

21 lines
653 B
PHP

<div class="grid half gap-xl v-center">
<div>
<label class="setting-list-label">{{ trans('settings.user_api_token_name') }}</label>
<p class="small">{{ trans('settings.user_api_token_name_desc') }}</p>
</div>
<div>
@include('form.text', ['name' => 'name'])
</div>
</div>
<div class="grid half gap-xl v-center">
<div>
<label class="setting-list-label">{{ trans('settings.user_api_token_expiry') }}</label>
<p class="small">{{ trans('settings.user_api_token_expiry_desc') }}</p>
</div>
<div class="text-right">
@include('form.date', ['name' => 'expires_at'])
</div>
</div>