mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-15 07:33:36 +08:00
a61c9c5e98
- 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
34 lines
1.0 KiB
PHP
34 lines
1.0 KiB
PHP
@extends('layouts.simple')
|
|
|
|
@section('body')
|
|
|
|
<div class="container small pt-xl">
|
|
|
|
<main class="card content-wrap auto-height">
|
|
<h1 class="list-heading">{{ trans('settings.user_api_token_create') }}</h1>
|
|
|
|
<form action="{{ $user->getEditUrl('/create-api-token') }}" method="post">
|
|
{!! csrf_field() !!}
|
|
|
|
<div class="setting-list">
|
|
@include('users.api-tokens.parts.form')
|
|
|
|
<div>
|
|
<p class="text-warn italic">
|
|
{{ trans('settings.user_api_token_create_secret_message') }}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="form-group text-right">
|
|
<a href="{{ $user->getEditUrl('#api_tokens') }}" class="button outline">{{ trans('common.cancel') }}</a>
|
|
<button class="button" type="submit">{{ trans('common.save') }}</button>
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
</div>
|
|
|
|
@stop
|