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

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

@if ($errors->any())
    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif
{!! Form::model($assignments, array('class' => 'form-horizontal', 'id' => 'form-with-validation', 'method' => 'PATCH', 'route' => array(config('quickadmin.route').'.assignments.update', $assignments->id))) !!}
{!! Form::label('order_id', 'Order ID*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('order_id', old('order_id',$assignments->order_id), array('class'=>'form-control')) !!}
{!! Form::label('user_id', 'User ID*', array('class'=>'col-sm-2 control-label')) !!}
{!! Form::text('user_id', old('user_id',$assignments->user_id), array('class'=>'form-control')) !!}
{!! Form::submit(trans('quickadmin::templates.templates-view_edit-update'), array('class' => 'btn btn-primary')) !!} {!! link_to_route(config('quickadmin.route').'.assignments.index', trans('quickadmin::templates.templates-view_edit-cancel'), null, array('class' => 'btn btn-default')) !!}
{!! Form::close() !!} @endsection