@extends('adminlte::page') @section('content') @if ($errors->any())
@endif {!! Form::open(array( 'url' => "/admin/category-store", 'method' => 'post', 'class' => 'form-horizontal', 'id' =>'categories-form', 'role'=>'form', )) !!}
{!! Form::label('name', 'Naziv kategorije') !!} {!!Form::text('name','',['class'=>'form-control'])!!}
{!! Form::label('parent_id', 'Pripadajuća kategorija') !!} {!!Form::select('parent_id',$categories,'',['class'=>'form-control','role' => 'textbox'])!!}
{!! Form::label('status', 'Status') !!} {!!Form::select('status',$status,'',['class'=>'form-control','role' => 'checkbox'])!!}
{!! Form::submit(Lang::get('Snimi'), array('class' => 'btn btn-success')) !!} {!!Form::close()!!} @endsection