{{ trans('general.title.new', ['type' => trans_choice('general.categories', 1)]) }}

{!! Form::open(['id' => 'form-create-category', 'role' => 'form', 'class' => 'form-loading-button']) !!}
{{ Form::textGroup('name', trans('general.name'), 'id-card-o') }} @stack('color_input_start')
{!! Form::label('color', trans('general.color'), ['class' => 'control-label']) !!}
{!! Form::text('color', '#00a65a', ['id' => 'color', 'class' => 'form-control', 'required' => 'required']) !!}
{!! $errors->first('color', '

:message

') !!}
@stack('color_input_end') {!! Form::hidden('type', $type, []) !!} {!! Form::hidden('enabled', '1', []) !!}
{!! Form::close() !!}
{!! Form::button('  ' . trans('general.save'), ['type' => 'button', 'id' =>'button-create-category', 'class' => 'btn btn-success button-submit', 'data-loading-text' => trans('general.loading')]) !!}