@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').'.productvariant.store', 'id' => 'form-with-validation', 'class' => 'form-horizontal')) !!}
{!! Form::label('product_group', 'Product Group*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('product_group', old('product_group'), array('class'=>'form-control')) !!}
{!! Form::label('width', 'Width (m)*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('width', old('width'), array('class'=>'form-control')) !!}
{!! Form::label('height', 'Height (m)*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('height', old('height'), array('class'=>'form-control')) !!}
{!! Form::label('finishing', 'Finishing*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('finishing', old('finishing'), array('class'=>'form-control')) !!}
{!! Form::label('product_ids', 'Product ID\'s', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('product_ids', old('product_ids'), array('class'=>'form-control')) !!}

Product ID's, comma separated. (e.g. 1234,23,134)

{!! Form::label('template', 'Template', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::file('template') !!}
{!! Form::submit( trans('quickadmin::templates.templates-view_create-create') , array('class' => 'btn btn-primary')) !!}
{!! Form::close() !!} @endsection