@if($enable_auth_admin_controls)
{{ html()->hidden('app_id', $item->id) }}
{{ __('app.apps.preview') }}
{{ html()->hidden('pinned', '0') }}
{{ __('app.buttons.cancel') }}
@include('items.preview')
{{ html()->select('appid', App\Application::applist())->class('form-control config-item')->id('apptype')->data('config', 'type') }}
{{ html()->text('website', $item->url ?? null)->placeholder(__('app.apps.website'))->id('website')->class('form-control') }} Don't forget http(s)://
{{ __('app.apps.add_application') }}
{!! csrf_field() !!}
{{ html()->text('title')->placeholder(__('app.apps.title'))->id('appname')->class('form-control')->required() }}
{{ html()->text('colour', $item->colour ?? '#161b1f')->placeholder(__('app.apps.hex'))->id('appcolour')->class('form-control color-picker set-bg-elem') }}
{{ html()->text('url', $item->url ?? null)->placeholder(__('app.url'))->id('appurl')->class('form-control')->required() }} Don't forget http(s)://
{{ html()->multiselect('tags[]', $tags, $current_tags)->class('tags') }}
@if($app['config']->get('app.auth_roles_enable', false))
{{ html()->text('role', $item->role ?? null)->placeholder(__('app.role'))->id('role')->class('form-control') }}
@endif
@if(isset($item->icon) && !empty($item->icon) || old('icon')) icon)) $icon = $item->icon; else $icon = old('icon'); ?> {{ html()->hidden('icon', $icon)->class('form-control') }} @else @endif
{{ __('app.apps.description') }}
@if(isset($item) && $item->enhanced())
@if(isset($item) && $item->class) @include('SupportedApps::'.App\Item::nameFromClass($item->class).'.config') @endif
@elseif(old('class') && App\Item::isEnhanced(old('class')))
@include('SupportedApps::'.App\Item::nameFromClass(old('class')).'.config')
@else
@endif
@else
{{ __('app.unauthorized_for_form') }}
@endif