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

{{ trans('quickadmin::templates.templates-view_edit-edit') }}

@if ($errors->any())
    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif
{!! Form::model($productvariant, array('files' => true, 'class' => 'form-horizontal', 'id' => 'form-with-validation', 'method' => 'PATCH', 'route' => array(config('quickadmin.route').'.productvariant.update', $productvariant->id))) !!}
{!! Form::label('product_group', 'Product Group*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('product_group', old('product_group',$productvariant->product_group), array('class'=>'form-control')) !!}
{!! Form::label('width', 'Width (m)*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('width', old('width',$productvariant->width), array('class'=>'form-control')) !!}
{!! Form::label('height', 'Height (m)*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('height', old('height',$productvariant->height), array('class'=>'form-control')) !!}
{!! Form::label('finishing', 'Finishing*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('finishing', old('finishing',$productvariant->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',$productvariant->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_edit-update'), array('class' => 'btn btn-primary')) !!} {!! link_to_route(config('quickadmin.route').'.productvariant.index', trans('quickadmin::templates.templates-view_edit-cancel'), null, array('class' => 'btn btn-default')) !!}
{!! Form::close() !!} @endsection