@extends('adminlte::page') @section('content')
<?php Fun::lang()?>
<div class="title-page">
    <div class="page-bar">
        <ul class="page-breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Dashboard</a></li>
            <li><a href="#">Operation</a></li>
            <li><a href="#">Manage Product</a></li>
            <li><a href="#">Item Zone</a></li>
            <li><a href="#">Edit</a></li>
        </ul>
    </div>
</div>
    <div class="page">
    	<div class="top-content">
            <div class="row">
                <div class="col-sm-12 col-xs-12">
                    <div class="title-page">
                        <div class="pull-left">
                            <h3>Edit Item Zone</h3>
                        </div>
                    </div>
                   
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 col-xs-12">
                
                 <div class="form-wrapper">
                    {!! Form::model($item_zone, ['method' => 'PATCH','route' => ['item-zone.update', $item_zone->id]]) !!}
                    <div class="row">

                        <div class="form-group col-sm-4 col-xs-4">
                            <label class="required">Item Zone Code</label>
                            {!! Form::text('item_zone_code', null, array('placeholder' => 'Item Zone Code','class' => 'form-control','required')) !!}
                        </div>
                        <div class="form-group col-sm-4 col-xs-4">
                            <label class="required">Item Zone Name</label>
                            {!! Form::text('item_zone_name', null, array('placeholder' => 'Item Zone Name','class' => 'form-control','required')) !!}
                        </div>

                        <div class="col-sm-4">
                            <label>Description</label>
                            {!! Form::textarea('item_zone_des', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'2')) !!}
                        </div>
                        <div class="col-sm-12 col-xs-12">
                            <br>
                            <div class="form-group">
                                <button type="submit" class="button_sm button_primary pull-right"><span class="fa fa-save"></span> Save</button>
                                <button type="button"  onClick="javascript:history.go(-1)" class="button_sm button_warning pull-right">
                                        <span class=" fa fa-arrow-circle-left"></span> Back</button>

                            </div>
                        </div>
                    </div>

                    {!! Form::close() !!}
                </div>
            </div>
        </div>
    </div>
    @endsection