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

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

@if ($errors->any())
    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif
{!! Form::model($proof, array('files' => true, 'class' => 'form-horizontal', 'id' => 'form-with-validation', 'method' => 'PATCH', 'route' => array(config('quickadmin.route').'.proof.update', $proof->id))) !!}
{!! Form::label('order_id', 'Order ID', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('order_id', old('order_id',$proof->order_id), array('class'=>'form-control')) !!}
{!! Form::label('item_no', 'Item Number', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('item_no', old('item_no',$proof->item_no), array('class'=>'form-control')) !!}
{!! Form::label('artwork_proof', 'Proof', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::file('artwork_proof') !!} {!! Form::hidden('artwork_proof_w', 4096) !!} {!! Form::hidden('artwork_proof_h', 4096) !!}
{!! Form::label('approved', 'Approved?', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::select('approved', $approved, old('approved',$proof->approved), array('class'=>'form-control')) !!}
{!! Form::submit(trans('quickadmin::templates.templates-view_edit-update'), array('class' => 'btn btn-primary')) !!} {!! link_to_route(config('quickadmin.route').'.proof.index', trans('quickadmin::templates.templates-view_edit-cancel'), null, array('class' => 'btn btn-default')) !!}
{!! Form::close() !!} @endsection