@extends('simple-layout') @section('body')

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

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

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

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

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

@endif @include('users.api-tokens.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