@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="#">Manage Stock</a></li>
            <li><a href="#">Edit Accessories</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 Accessories</h3>
                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 col-xs-12">
                {!! Form::model($accessorie, ['method' => 'PATCH','route' => ['accessories.update', $accessorie->id]]) !!}
                <div class="row">
                    <div class="form-group col-sm-6 col-xs-12">
                        <div class="form-group">
                        <label class="required">Title</label>
                        {!! Form::text('title', null, array('placeholder' => 'Title','class' => 'form-control','required')) !!}
                        </div>
                    </div>
                    <div class="col-sm-6">
                        <div class="form-group">
                            <label for="required" class="required">Description</label>
                            {!! Form::textarea('description', null, array('placeholder' => 'Description','class' => 'form-control','rows'=>'2','required')) !!}
                        </div>
                    </div>
                    <div class="col-sm-12 col-xs-12">
                        <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>
                {!! Form::close() !!}
                </div>
            </div>
        </div>
    </div>
    </div>
    @endsection