{!! Form::label('title', getPhrase('title'), ['class' => 'control-label']) !!} * {{ Form::text('title', old('title'), $attributes = array('class' => 'form-control', 'placeholder' => 'Title', 'ng-model' => 'title', 'required' => 'true', 'ng-pattern' => getRegexPattern("name"), 'ng-class'=>'{"has-error": formValidate.title.$touched && formValidate.title.$invalid}', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('pattern')!!}
{!! Form::label('key', getPhrase('key'), ['class' => 'control-label']) !!} * {{ Form::text('key', old('key'), $attributes = array('class' => 'form-control', 'placeholder' => 'Key', 'ng-model' => 'key', 'required' => 'true', 'readonly'=>'true', 'ng-class'=>'{"has-error": formValidate.key.$touched && formValidate.key.$invalid}', )) }}
{!! getValidationMessage()!!} {!! getValidationMessage('pattern')!!}
{{ Form::label('image', getphrase('image')) }}
{!! Form::file('image', array('id'=>'image_input', 'accept'=>'.png,.jpg,.jpeg')) !!}
{!! Form::label('description', getPhrase('description'), ['class' => 'control-label']) !!} {{ Form::textarea('description', old('description'), $attributes = array('class' => 'form-control', 'placeholder' => 'Description', 'ng-model' => 'description' )) }}