@extends('backend.layouts.app') @section('title', __('labels.backend.access.license.licensetype.management') . ' | ' . __('labels.backend.access.license.licensetype.edit')) @section('content') {{ html()->modelForm($licenseTypes, 'PATCH', route('admin.auth.licensetype.update', $licenseTypes->id))->class('form-horizontal')->open() }}

@lang('labels.backend.access.license.licensetype.management') @lang('labels.backend.access.license.licensetype.edit')


{{ html()->label(__('validation.attributes.backend.access.license.licensetype.prefix')) ->class('col-md-2 form-control-label') ->for('prefix') }}
{{ html()->text('prefix') ->class('form-control') ->placeholder('Prefix') ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->label(__('validation.attributes.backend.access.license.licensetype.name')) ->class('col-md-2 form-control-label') ->for('name') }}
{{ html()->text('name') ->class('form-control') ->placeholder(__('validation.attributes.backend.access.permissions.name')) ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->label(__('validation.attributes.backend.access.license.licensetype.duration')) ->class('col-md-2 form-control-label') ->for('name') }}
{{ html()->number('duration') ->class('form-control') ->required() ->placeholder(__('validation.attributes.backend.access.license.licensetype.duration')) ->autofocus() }}
{{ html()->label(__('validation.attributes.backend.access.license.licensetype.status')) ->class('col-md-2 form-control-label') ->for('name') }}
{{ html()->label( html()->checkbox('status',($licenseTypes->status=='active')?true:false) ->class('switch-input') ->id('status') . '') ->class('switch switch-label switch-pill switch-primary mr-2') ->for('status') }}
{{ html()->label(__('validation.attributes.backend.access.license.licensetype.keytype')) ->class('col-md-2 form-control-label') ->for('name') }}
{{ html()->select('licensekey',$licensekey, $licenseTypes->licence_type) ->class('form-control') ->placeholder(__('labels.backend.access.dropboxselect')) ->required() }}
{{ html()->label(__('validation.attributes.backend.access.license.licensetype.amount')) ->class('col-md-2 form-control-label') ->for('amount') }}
{{ html()->text('amount') ->class('form-control') ->placeholder('Amount') ->attribute('maxlength', 191) ->required() ->autofocus() }}
{{ html()->closeModelForm() }} @endsection