@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('route' => config('quickadmin.route').'.size.store', 'id' => 'form-with-validation', 'class' => 'form-horizontal')) !!}
{!! Form::label('size', 'size*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('size', old('size'), array('class'=>'form-control')) !!}
{!! Form::label('catalogs_id', 'catalog_id', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::select('catalogs_id', $catalogs, old('catalogs_id'), array('class'=>'form-control')) !!}
{!! Form::label('price', 'price', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('price', old('price'), array('class'=>'form-control')) !!}
{!! Form::label('coef', 'coef', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('coef', old('coef'), array('class'=>'form-control')) !!}
{!! Form::submit( trans('quickadmin::templates.templates-view_create-create') , array('class' => 'btn btn-primary')) !!}
{!! Form::close() !!} @endsection