You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
3.0 KiB

  1. @extends('layouts.app')
  2. @section('content')
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-md-8 col-md-offset-2">
  6. <div class="panel panel-default">
  7. <div class="panel-heading">Login</div>
  8. <div class="panel-body">
  9. <form class="form-horizontal" method="POST" action="{{ route('login') }}">
  10. {{ csrf_field() }}
  11. <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
  12. <label for="email" class="col-md-4 control-label">E-Mail Address</label>
  13. <div class="col-md-6">
  14. <input id="email" type="email" class="form-control" name="email" value="{{ old('email') }}" required autofocus>
  15. @if ($errors->has('email'))
  16. <span class="help-block">
  17. <strong>{{ $errors->first('email') }}</strong>
  18. </span>
  19. @endif
  20. </div>
  21. </div>
  22. <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
  23. <label for="password" class="col-md-4 control-label">Password</label>
  24. <div class="col-md-6">
  25. <input id="password" type="password" class="form-control" name="password" required>
  26. @if ($errors->has('password'))
  27. <span class="help-block">
  28. <strong>{{ $errors->first('password') }}</strong>
  29. </span>
  30. @endif
  31. </div>
  32. </div>
  33. <div class="form-group">
  34. <div class="col-md-6 col-md-offset-4">
  35. <div class="checkbox">
  36. <label>
  37. <input type="checkbox" name="remember" {{ old('remember') ? 'checked' : '' }}> Remember Me
  38. </label>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <div class="col-md-8 col-md-offset-4">
  44. <button type="submit" class="btn btn-primary">
  45. Login
  46. </button>
  47. <a class="btn btn-link" href="{{ route('password.request') }}">
  48. Forgot Your Password?
  49. </a>
  50. </div>
  51. </div>
  52. </form>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. @endsection