Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Login View -->
- <form action="/login" method="POST">
- {{ csrf_field() }}
- <input type="email" name="email" placeholder="email"><br>
- <input type="password" name="password" placeholder="password"><br>
- <input type="submit">
- </form>
- <!-- End Login View -->
- <!-- Register View -->
- @if(count($user->getErrorMessages()) > 0)
- <ul>
- @foreach($user->getErrorMessages() as $error)
- <li>{{ $error }}</li>
- @endforeach
- </ul>
- @endif
- <form action="/register" method="POST">
- {{ csrf_field() }}
- <input type="text" name="name" placeholder="name"><br>
- <input type="email" name="email" placeholder="email"><br>
- <input type="password" name="password" placeholder="password"><br>
- <input type="password" name="password_confirmation" placeholder="password confirmation"><br>
- <input type="submit">
- </form>
- <!-- End Register View -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement