Advertisement
Guest User

Untitled

a guest
Sep 26th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <!-- Login View -->
  2. <form action="/login" method="POST">
  3. {{ csrf_field() }}
  4. <input type="email" name="email" placeholder="email"><br>
  5. <input type="password" name="password" placeholder="password"><br>
  6. <input type="submit">
  7. </form>
  8. <!-- End Login View -->
  9.  
  10. <!-- Register View -->
  11. @if(count($user->getErrorMessages()) > 0)
  12. <ul>
  13. @foreach($user->getErrorMessages() as $error)
  14. <li>{{ $error }}</li>
  15. @endforeach
  16. </ul>
  17. @endif
  18. <form action="/register" method="POST">
  19. {{ csrf_field() }}
  20. <input type="text" name="name" placeholder="name"><br>
  21. <input type="email" name="email" placeholder="email"><br>
  22. <input type="password" name="password" placeholder="password"><br>
  23. <input type="password" name="password_confirmation" placeholder="password confirmation"><br>
  24. <input type="submit">
  25. </form>
  26. <!-- End Register View -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement