reset.blade.php 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. @extends('admin.layout.auth')
  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">Reset Password</div>
  8. <div class="panel-body">
  9. <form class="form-horizontal" role="form" method="POST" action="{{ url('/admin/password/reset') }}">
  10. {{ csrf_field() }}
  11. <input type="hidden" name="token" value="{{ $token }}">
  12. <div class="form-group{{ $errors->has('email') ? ' has-error' : '' }}">
  13. <label for="email" class="col-md-4 control-label">E-Mail Address</label>
  14. <div class="col-md-6">
  15. <input id="email" type="email" class="form-control" name="email" value="{{ $email or old('email') }}" autofocus>
  16. @if ($errors->has('email'))
  17. <span class="help-block">
  18. <strong>{{ $errors->first('email') }}</strong>
  19. </span>
  20. @endif
  21. </div>
  22. </div>
  23. <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
  24. <label for="password" class="col-md-4 control-label">Password</label>
  25. <div class="col-md-6">
  26. <input id="password" type="password" class="form-control" name="password">
  27. @if ($errors->has('password'))
  28. <span class="help-block">
  29. <strong>{{ $errors->first('password') }}</strong>
  30. </span>
  31. @endif
  32. </div>
  33. </div>
  34. <div class="form-group{{ $errors->has('password_confirmation') ? ' has-error' : '' }}">
  35. <label for="password-confirm" class="col-md-4 control-label">Confirm Password</label>
  36. <div class="col-md-6">
  37. <input id="password-confirm" type="password" class="form-control" name="password_confirmation">
  38. @if ($errors->has('password_confirmation'))
  39. <span class="help-block">
  40. <strong>{{ $errors->first('password_confirmation') }}</strong>
  41. </span>
  42. @endif
  43. </div>
  44. </div>
  45. <div class="form-group">
  46. <div class="col-md-6 col-md-offset-4">
  47. <button type="submit" class="btn btn-primary">
  48. Reset Password
  49. </button>
  50. </div>
  51. </div>
  52. </form>
  53. </div>
  54. </div>
  55. </div>
  56. </div>
  57. </div>
  58. @endsection