@extends('layouts/edit-form', [ 'createText' => trans('admin/categories/general.create') , 'updateText' => trans('admin/categories/general.update'), 'helpPosition' => 'right', 'helpText' => trans('help.categories'), 'topSubmit' => 'true', 'formAction' => (isset($item->id)) ? route('categories.update', ['category' => $item->id]) : route('categories.store'), ]) @section('inputFields') @include ('partials.forms.edit.name', ['translated_name' => trans('admin/categories/general.name')])
{{ Form::select('category_type', $category_types , old('category_type', $item->category_type), array('class'=>'select2', 'style'=>'min-width:350px', 'aria-label'=>'category_type', ($item->category_type!='') || ($item->itemCount() > 0) ? 'disabled' : '')) }} {!! $errors->first('category_type', '') !!}

{!! trans('admin/categories/message.update.cannot_change_category_type') !!}

@include ('partials.forms.edit.image-upload', ['image_path' => app('categories_upload_path')]) @stop @section('content') @parent @if ($snipeSettings->default_eula_text!='') @endif @stop