@extends("admin.layouts.app") @section("styles") @endsection @section("content")
@lang("constants.new_category")
@isset($errors) @foreach($errors as $key => $error) @endforeach @endisset
{{Form::open(['route'=>"admin.categories.store",'role'=>"form",'files'=>true])}}
{{Form::text("title",NULL,['class'=>'form-control m-input'])}} {{Form::label("title",trans("constants.title"))}}
{{Form::text("code",NULL,['class'=>'form-control m-input'])}} {{Form::label("code",trans("constants.code"))}}
{{Form::text("icon",NULL,['class'=>'form-control m-input'])}} {{Form::label("icon",trans("constants.icon"))}}
{{Form::file("image",['class'=>'form-control'])}} {{Form::label("image","Image")}}
{{Form::file("black_image",['class'=>'form-control'])}} {{Form::label("black_image","Black image")}}
{{Form::checkbox("with_accessories",1,0,['class'=>'md-check'])}} {{Form::label("with_accessories",trans("constants.with_accessories"))}}
{{Form::checkbox("with_compare",1,0,['class'=>'md-check'])}} {{Form::label("with_compare",trans("constants.with_compare"))}}
{{Form::checkbox("is_new",1,0,['class'=>'md-check'])}} {{Form::label("is_new","Is New")}}
{!! Form::close() !!}
@endsection @section("scripts") @endsection