Add the validation error fields in the templates

This commit is contained in:
Nabeel Shahzad
2018-02-06 10:18:22 -06:00
parent 995d53df3e
commit 8d76e16220
12 changed files with 77 additions and 10 deletions

View File

@@ -51,6 +51,8 @@
{!! Form::button('<i class="glyphicon glyphicon-plus"></i> add',
['type' => 'submit',
'class' => 'btn btn-success btn-s']) !!}
<p class="text-danger">{{ $errors->first('name') }}</p>
<p class="text-danger">{{ $errors->first('tz') }}</p>
{!! Form::close() !!}
</div>
</div>