@extends('layouts/edit-form', [ 'createText' => trans('admin/categories/general.create') , 'updateText' => trans('admin/categories/general.update'), 'helpTitle' => trans('admin/categories/general.about_categories_title'), 'helpText' => trans('admin/categories/general.about_categories'), 'formAction' => ($item) ? 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 , Input::old('category_type', $item->category_type), array('class'=>'select2', 'style'=>'min-width:350px', $item->itemCount() > 0 ? 'disabled' : '')) }} {!! $errors->first('category_type', ' :message') !!}
{{ Form::textarea('eula_text', Input::old('eula_text', $item->eula_text), array('class' => 'form-control')) }}

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

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

{!! $errors->first('eula_text', ':message') !!}
@if ($item->image)
{{ Form::checkbox('image_delete') }} {!! $errors->first('image_delete', ':message') !!}
@endif
{{ Form::file('image') }} {!! $errors->first('image', ':message') !!}
@stop @section('content') @parent @if ($snipeSettings->default_eula_text!='') @endif @stop