Created
November 1, 2017 14:02
-
-
Save Ryomasao/b59552cf64e63ee09b262ed20f5629cb to your computer and use it in GitHub Desktop.
エラーのpug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. | |
@if(count($errors)) | |
ul | |
. | |
@foreach($errors->all() as $error) | |
li(style="color:red") {{ $error }} | |
. | |
@endforeach | |
. | |
@endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment