@extends('layouts.simple') @section('body')

{{ trans('settings.user_api_token') }}

{!! method_field('put') !!} {!! csrf_field() !!}

{{ trans('settings.user_api_token_id_desc') }}

@include('form.text', ['name' => 'token_id', 'readonly' => true])
@if( $secret )

{{ trans('settings.user_api_token_secret_desc') }}

@endif @include('users.api-tokens.parts.form', ['model' => $token])
{{ trans('settings.user_api_token_created', ['timeAgo' => $token->created_at->diffForHumans()]) }}
{{ trans('settings.user_api_token_updated', ['timeAgo' => $token->created_at->diffForHumans()]) }}
@stop