@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ $title }}

{{ Form::open(['url' => route('categorie_store'), 'method'=>'POST', 'name' => 'categories', 'id' => 'categories']) }}
{{ Form::label(__('lbl.categorie_name')) }} {{ Form::text('categorie_name', Input::old('categorie_name'), ["class"=>"form-control mxlen_20","placeholder"=>"Categorie Name","id"=>"categorie_name","name"=>"categorie_name"]) }} @if ($errors->has('categorie_name')) {{ $errors->first('categorie_name') }} @endif
{{ Form::label(__('lbl.product_color')) }} {{ Form::text('categorie_color', '', ["class"=>"form-control mxlen_10 pickacolor", "style"=>"height:35px !important;","autocomplete"=>"off","placeholder"=>__('lbl.product_color'),"id"=>"categorie_color"])}}
{{ Form::label(__('lbl.categorie_code')) }} {{ Form::text('categorie_code', old('categorie_code'), ["class"=>"form-control mxlen_10","placeholder"=>"Categorie Code","id"=>"categorie_code","name"=>"categorie_code"]) }}
{{ Form::label(__('lbl.categorie_type')) }} @if ($errors->has('categorie_type')) {{ $errors->first('categorie_type') }} @endif
{{ Form::label(__('lbl.categorie_sort')) }} {{ Form::number('categorie_sort', !empty(Input::old('categorie_sort')) ? Input::old('categorie_sort') : $sort, ["class"=>"form-control","placeholder"=>"Categorie Short","id"=>"categorie_sort","name"=>"categorie_sort","min"=>"0"]) }} @if ($errors->has('categorie_sort')) {{ $errors->first('categorie_sort') }} @endif
{{ Form::button(' '.__('lbl.submit'),["type"=>"submit","name"=>"submit","value"=>"submit","class"=>"clickbtncommon btn-sm btn btn-primary "]) }} {{ __('lbl.cancel') }}
{{ Form::close() }}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/select2/dist/js/select2.full.min.js', 'js/backend/categories/add_edit.js', 'js/lib/colorpick/dependencies/tinycolor-0.9.15.min.js', 'js/lib/colorpick/1.2.3/js/pick-a-color-1.2.3.min.js' ]) !!} @stop