@extends('backend.layouts.app') @section('title', app_name() . ' | ' .'Create clipart') @section('content') {{ html()->form('POST', route('admin.clipart.store'))->attribute('enctype', 'multipart/form-data')->open() }}

New clipart


Metadata
{{ html()->label('Name')->class('col-md-2 form-control-label')->for('name') }}
{{ html()->text('name') ->class('form-control') ->placeholder('name') ->attribute('maxlength', 254) ->required() }}
{{ html()->label('Description')->class('col-md-2 form-control-label')->for('description') }}
{{ html()->textarea('description') ->class('form-control') ->placeholder('Description') }}
{{ html()->label('Citations')->class('col-md-2 form-control-label')->for('citations') }}
{{ html()->textarea('citations') ->class('form-control') ->placeholder('Citations') }}
{{ html()->label('Tags')->for('tags[]')->class('col-md-2 form-control-label') }}
{{ html()->multiselect('tags[]', $tags->pluck('text', 'id')) ->class('form-control') }}
{{ html()->label('Paid')->class('col-md-2 form-control-label') }}
{{ html()->label( html()->checkbox('public') ->class('switch-input') ->id('paid') . '') ->class('switch switch-label switch-pill switch-primary mr-2') ->for('public') }} {{ html()->label('Paid')->for('paid') }}
Files
{{ html()->label('Baseline')->for('baseline')->attribute('style', 'font-weight:bold') }} {{ html()->file('baseline')->class('form-control') }}
{{ html()->label('Outline')->for('outline')->attribute('style', ' color: black; font-weight:bolder -webkit-text-fill-color: white; -webkit-text-stroke-width: 0.5px; -webkit-text-stroke-color: black;') }} {{ html()->file('outline')->class('form-control') }}
{{ html()->label('Blue')->for('blue')->attribute('style', 'color:blue; font-weight:bold') }} {{ html()->file('blue')->class('form-control') }}
{{ html()->label('Green')->for('green')->attribute('style', 'color:DarkGreen; font-weight:bold') }} {{ html()->file('green')->class('form-control') }}
{{ html()->label('Grey')->for('grey')->attribute('style', 'color:DarkGray; font-weight:bold') }} {{ html()->file('grey')->class('form-control') }}
{{ html()->label('Purple')->for('purple')->attribute('style', 'color:DarkViolet; font-weight:bold') }} {{ html()->file('purple')->class('form-control') }}
{{ html()->label('Red')->for('red')->attribute('style', 'color:DarkRed; font-weight:bold') }} {{ html()->file('red')->class('form-control') }}
{{ html()->label('Yellow')->for('yellow')->attribute('style', 'color:Gold; font-weight:bold') }} {{ html()->file('yellow')->class('form-control') }}
{{ html()->closeModelForm() }} @endsection @push('after-scripts') @endpush @push('after-styles') @endpush