@extends('backend.layouts.split')
@section('title', 'Edit Api Client' . ' '.html_entity_decode("—", ENT_QUOTES, 'UTF-8').' ' . app_name())
@section('content')
{{ html()->modelForm($apiClient, 'PATCH', route('admin.auth.api-client.update', $apiClient))->class('form-actions top')->open() }}
Api Client
@lang('Edit')
{{ html()->label('Name')->class('control-label')->for('name') }}
{{ html()->text('name')
->class('form-control')
->placeholder('Client Name')
->attribute('maxlength', 191)
->required() }}
{{ html()->label('Rate Limit (requests per minute)')->class('control-label')->for('rate_limit') }}
{{ html()->number('rate_limit')
->class('form-control')
->placeholder('60')
->required()
->attribute('min', 1) }}
{{ html()->label('Current API Key')->class('control-label') }}
{{ html()->text('token', $apiClient->token)
->class('form-control')
->readonly() }}
{{ form_cancel(route('admin.auth.api-client.index'), __('buttons.general.cancel')) }}
{{ form_submit('Update') }}
{{ html()->form()->close() }}
@endsection