@extends('layouts.app') @section('content')
  @lang('layout.CreateNewInventoryCategory')
{!! Form::open(array('route' => 'inventoryCategory.store','method'=>'POST','class'=>'form-horizontal','id'=>'inventory-category-form','files'=> true)) !!} {{ csrf_field() }}
{{Form::text('name',null,['class' => 'form-control','v-validate' =>'"required"','data-vv-as' => __('layout.CategoryName'),'placeholder' => __('layout.CategoryName')])}} @{{ errors.first('name') }}
{{Form::select('parent',$parent,Null,['class' => 'form-control','placeholder' => __('layout.SelectParent')])}}
@lang('layout.SelectFile') @lang('layout.Change') @lang('layout.Remove')
{{-- {!! Form::file('image', null, array('placeholder' => 'photo','class' => 'form-control')) !!} --}}
{!! Form::textarea('description', null, array('placeholder' => __('layout.Description'),'class' => 'form-control','rows' => 6, 'cols' => 30)) !!}
@lang('layout.Cancel')
{!! Form::close() !!}
@endsection @push('scripts') @endpush