login.blade.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @extends('app')
  2. @section('content')
  3. <div class="container-fluid">
  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. @if (count($errors) > 0)
  10. <div class="alert alert-danger">
  11. <strong>Whoops!</strong> There were some problems with your input.<br><br>
  12. <ul>
  13. @foreach ($errors->all() as $error)
  14. <li>{{ $error }}</li>
  15. @endforeach
  16. </ul>
  17. </div>
  18. @endif
  19. <form class="form-horizontal" role="form" method="POST" action="{{ url('/auth/login') }}">
  20. <input type="hidden" name="_token" value="{{ csrf_token() }}">
  21. <div class="form-group">
  22. <label for="email" class="col-md-4 control-label">E-Mail Address</label>
  23. <div class="col-md-6">
  24. <input type="email" class="form-control" name="email" id="email" value="{{ old('email') }}">
  25. </div>
  26. </div>
  27. <div class="form-group">
  28. <label for="password" class="col-md-4 control-label">Password</label>
  29. <div class="col-md-6">
  30. <input type="password" class="form-control" name="password" id="password">
  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"> Remember Me
  38. </label>
  39. </div>
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <div class="col-md-6 col-md-offset-4">
  44. <button type="submit" class="btn btn-primary">Login</button>
  45. <<<<<<< HEAD
  46. <a class="btn btn-link" href="/password/email">Forgot Your Password?</a>
  47. </div>
  48. </div>
  49. </form>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54. =======
  55. <a class="btn btn-link" href="{{ url('/password/email') }}">Forgot Your Password?</a>
  56. </div>
  57. </div>
  58. </form>
  59. </div>
  60. </div>
  61. </div>
  62. </div>
  63. >>>>>>> master
  64. </div>
  65. @endsection