{!! csrf_field() !!}
{!! Form::text('title', null, array('placeholder' => __('app.apps.title'), 'id' => 'appname', 'class' => 'form-control')) !!}
{!! Form::select('class', App\Application::applist(), null, array('class' => 'form-control config-item', 'id' => 'apptype', 'data-config' => 'type')) !!}
{!! Form::text('colour', null, array('placeholder' => __('app.apps.hex'), 'id' => 'appcolour', 'class' => 'form-control color-picker set-bg-elem')) !!}
{!! Form::text('url', null, array('placeholder' => __('app.url'), 'id' => 'appurl', 'class' => 'form-control')) !!}
{!! Form::select('tags[]', $tags, $current_tags, ['class' => 'tags', 'multiple']) !!}
Preview
@include('items.preview')
@if(isset($item) && $item->enhanced())
@if(isset($item))
@include('SupportedApps::'.$item->getconfig()->name.'.config')
@endif
@elseif(old('class') && App\Item::isEnhanced(old('class')))
@include('SupportedApps::'.App\Item::nameFromClass(old('class')).'.config')
@else
@endif