@extends('layouts/edit-form', [ 'createText' => trans('admin/statuslabels/table.create') , 'updateText' => trans('admin/statuslabels/table.update'), 'helpTitle' => trans('admin/statuslabels/table.about'), 'helpText' => trans('admin/statuslabels/table.info'), 'formAction' => (isset($item->id)) ? route('statuslabels.update', ['statuslabel' => $item->id]) : route('statuslabels.store'), ]) {{-- Page content --}} @section('content') @parent @stop @section('inputFields') @include ('partials.forms.edit.name', ['translated_name' => trans('general.name')])
{{ Form::select('statuslabel_types', $statuslabel_types, $item->getStatuslabelType(), array('class'=>'select2', 'style'=>'width: 100%; min-width:400px', 'aria-label'=>'statuslabel_types')) }} {!! $errors->first('statuslabel_types', '') !!}
{{ Form::label('color', trans('admin/statuslabels/table.color'), ['class' => 'col-md-3 control-label']) }}
{{ Form::text('color', old('color', $item->color), array('class' => 'form-control col-md-10', 'maxlength'=>'20')) }}
{!! $errors->first('color', '') !!}
@include ('partials.forms.edit.notes')

{{ trans('admin/statuslabels/table.default_label_help') }}

@stop @section('moar_scripts') @stop