Created
January 5, 2016 09:57
-
-
Save hoanganh25991/4f91763ff2836b94e608 to your computer and use it in GitHub Desktop.
loop message from validation, one-key has many rules, so loop twice
This file contains hidden or 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
<div id="page_messages"> | |
@foreach($messages as $key => $values) | |
@foreach($values as $value) | |
<input type="hidden" name="{{$key}}" value="{{$value}}"> | |
@endforeach | |
@endforeach | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment