Level 104
What is this package; and why is it considered preferable to raw HTML?
{!! Html::input('email', 'email', null, [
'class' => 'form-control' . ($errors->has('email') ? ' is-invalid' : ''),
'placeholder' => '[email protected]',
'disabled' => $model->exists
]) !!}
vs.
<input type="email"
name="email"
id="email"
class="form-control {{ $errors->has('email') ? 'is-invalid' : '' }}"
placeholder="[email protected]"
{{ $model->exists ? 'disabled' : '' }}
>