@if ($category->id) {!! Form::model($category, ['route' => ['admin.project-categories.update', $category->id], 'method' => 'PUT', 'enctype' => 'multipart/form-data']) !!} @else {!! Form::model($category, ['route' => ['admin.project-categories.store'], 'method' => 'POST', 'enctype' => 'multipart/form-data']) !!} @endif
{{ Form::label('name', __('Category Name'), ['class' => 'col-form-label']) }} {!! Form::text('name', null, ['class' => 'form-control', 'placeholder' => __('Category Name')]) !!}
{!! Form::close() !!}