@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') !!}

{{ Form::textarea('eula_text', old('eula_text', $item->eula_text), array('class' => 'form-control', 'aria-label'=>'eula_text')) }}

{!! trans('admin/categories/general.eula_text_help') !!}

{!! trans('admin/settings/general.eula_markdown') !!}

{!! $errors->first('eula_text', '') !!}
@if ($snipeSettings->default_eula_text!='') @else
@endif
@if (($item->image) && ($item->image!=''))
{!! $errors->first('image_delete', ':message') !!}
@endif @include ('partials.forms.edit.image-upload') @stop @section('content') @parent @if ($snipeSettings->default_eula_text!='') @endif @stop