@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'=>'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', Request::old('color', $item->color), array('class' => 'form-control', 'style' => 'width: 100px;', 'maxlength'=>'10')) }}
{!! $errors->first('header_color', '') !!}
@include ('partials.forms.edit.notes')

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

@stop @section('moar_scripts') @stop