Answer the question
In order to leave comments, you need to log in
Explain a couple of lines on Laravel?
Here are the sources of a simple authorization example link to GitHub
This code is not clear
@if ($errors->has('email'))
<span class="help-block">
<strong>{{ $errors->first('email') }}</strong>
</span>
@endif
Answer the question
In order to leave comments, you need to log in
The $errors variable is most likely a variable from the validate method ( https://laravel.com/docs/5.2/validation#error-mess...
It gets into the view in different ways, for example, like this: stackoverflow.com/questions/19838978/ laravel-redir...
The answer from the link above uses a similar example.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question