@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::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)
@endif
@stop
@section('content')
@parent
@if ($snipeSettings->default_eula_text!='')
{{ \App\Models\Setting::getDefaultEula() }}
@endif
@stop