@extends('admin.layouts.master') @section('content')

{{ trans('quickadmin::templates.templates-view_create-add_new') }}

@if ($errors->any())
    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif
{!! Form::open(array('files' => true, 'route' => config('quickadmin.route').'.galleries.store', 'id' => 'form-with-validation', 'class' => 'form-horizontal')) !!}
{!! Form::label('name', 'name', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('name', old('name'), array('class'=>'form-control')) !!}
{!! Form::label('picture', 'picture', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::file('picture') !!} {!! Form::hidden('picture_w', 4096) !!} {!! Form::hidden('picture_h', 4096) !!}
{!! Form::label('artist_id', 'artist_id', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::select('artist_id', $artist, old('artist_id'), array('class'=>'form-control')) !!}
{!! Form::label('type', 'type', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('type', old('type'), array('class'=>'form-control')) !!}
{!! Form::submit( trans('quickadmin::templates.templates-view_create-create') , array('class' => 'btn btn-primary')) !!}
{!! Form::close() !!} @endsection