reset.blade.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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">Reset Password</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="/password/reset">
  20. <input type="hidden" name="_token" value="{{ csrf_token() }}">
  21. <input type="hidden" name="token" value="{{ $token }}">
  22. <div class="form-group">
  23. <label class="col-md-4 control-label">E-Mail Address</label>
  24. <div class="col-md-6">
  25. <input type="email" class="form-control" name="email" value="{{ old('email') }}">
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label class="col-md-4 control-label">Password</label>
  30. <div class="col-md-6">
  31. <input type="password" class="form-control" name="password">
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="col-md-4 control-label">Confirm Password</label>
  36. <div class="col-md-6">
  37. <input type="password" class="form-control" name="password_confirmation">
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <div class="col-md-6 col-md-offset-4">
  42. <button type="submit" class="btn btn-primary">
  43. Reset Password
  44. </button>
  45. </div>
  46. </div>
  47. </form>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. @endsection