@extends('backend.layouts.app') @section('title', app_name() . ' | ' .'Clipart management') @section('content')
{{ html()->form('GET', route('admin.clipart.index'))->class('form-inline')->open() }}
{{ html()->label('Tags','tags[]') }}
{{ html()->multiselect('tags[]',$tags->pluck('text', 'id'))->class('tagsselect')->style('width:300px')->value(app('request')->input('tags')) }}
{{ html()->label('Search text','search') }}
{{ html()->text('search')->class('form-control') ->placeholder('Searchtext')->value(app('request')->input('search')) }}  {!!form_submit('','btn btn-success ') !!}
{{html()->form()->close()}}
@foreach($clipart as $clip) @endforeach
Thumbnail Name Description Citations Tags Type Paid Owner
@if($clip->id_baseline) {{$clip->name.' '.\App\Models\Graphics\Clipart_colourway::find($clip->id_baseline)->colour}} @else (baseline not set) @endif {{$clip->name}} {{$clip->description}} {!! $clip->citations!!} @foreach($clip->tags as $tag) {{$tag->text}}@if(!$loop->last),@endif @endforeach {{$clip->type}} {!! $clip->paid=='1'?'Paid':'Free' !!} {{$clip->owner->first_name}} {{$clip->owner->last_name}}
{!! $clipart->render() !!}
@endsection @section('dialogs') @endsection @push('after-scripts') @endpush @push('after-styles') @endpush