2021-08-22 20:15:58 +08:00
|
|
|
@extends('layouts.simple')
|
2019-12-30 01:03:52 +08:00
|
|
|
|
|
|
|
@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>
|
|
|
|
|
2023-10-19 18:31:45 +08:00
|
|
|
<form action="{{ url('/api-tokens/' . $user->id . '/create') }}" method="post">
|
|
|
|
{{ csrf_field() }}
|
2019-12-30 01:03:52 +08:00
|
|
|
|
|
|
|
<div class="setting-list">
|
2021-08-22 20:15:58 +08:00
|
|
|
@include('users.api-tokens.parts.form')
|
2019-12-30 01:03:52 +08:00
|
|
|
|
|
|
|
<div>
|
|
|
|
<p class="text-warn italic">
|
|
|
|
{{ trans('settings.user_api_token_create_secret_message') }}
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group text-right">
|
2023-10-19 18:31:45 +08:00
|
|
|
<a href="{{ $back }}" class="button outline">{{ trans('common.cancel') }}</a>
|
2019-12-30 01:03:52 +08:00
|
|
|
<button class="button" type="submit">{{ trans('common.save') }}</button>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</main>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|