Feuerwehr-eppingen/resources/views/inc/forms/inputText.blade.php

6 lines
318 B
PHP
Executable File

<div class="form-group {{ $errors->has($name) ? ' has-error' : '' }}" id="form-data-{{ $name }}">
{{ Form::label($name, $label) }}
{{ Form::text($name, $value, array('class' => 'form-control', 'placeholder' => $placeholder)) }}
<small class="text-danger validation-field">{{ $errors->first($name) }}</small>
</div>