@extends('backend.layouts.app') @section('title', __('labels.backend.forum_category.title').' | '.app_name()) @push('after-styles') @endpush @section('content') {{ html()->form('POST', route('admin.forums-category.store'))->id('forums-create')->class('form-horizontal')->acceptsFiles()->open() }}

@lang('labels.backend.forum_category.create')

{{ html()->label(__('labels.backend.forum_category.fields.category'))->class('col-md-2 form-control-label')->for('first_name') }}
{{ html()->text('name') ->class('form-control') ->placeholder(__('labels.backend.forum_category.fields.category')) ->required() }}
{{ html()->label(__('labels.backend.forum_category.fields.parent_category'))->class('col-md-2 form-control-label')->for('first_name') }}
{{ html()->select('parent_id',$forum_categories) ->id('parent_id') ->class('form-control js-example-placeholder-single select2') }}
{{ html()->label(__('labels.backend.forum_category.fields.color'))->class('col-md-2 form-control-label')->for('color') }}
{{ html()->text('color') ->class('form-control demo') ->value('#0088cc') ->attributes(['data-control'=>"brightness"]) ->required() }}
{{ html()->label(__('labels.backend.forum_category.fields.order'))->class('col-md-2 form-control-label')->for('color') }}
{{ html()->input('number','order') ->class('form-control') ->placeholder('Ex. 1') }}
{{ form_cancel(route('admin.tax.index'), __('buttons.general.cancel')) }}
{{ html()->form()->close() }} @endsection @push('after-scripts') @endpush