password.blade.php 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. @extends('theme::layout.public')
  2. @section('seo_title')修改密码 - {{ Setting()->get('website_name') }}@endsection
  3. @section('content')
  4. <div class="row">
  5. <!--左侧菜单-->
  6. @include('theme::layout.profile_menu')
  7. <div id="main" class="settings col-md-10 form-horizontal main">
  8. <h2 class="h3 post-title">修改密码</h2>
  9. <div class="row mt-30">
  10. <div class="col-md-8">
  11. <form name="baseForm" id="base_form" action="{{ route('auth.profile.password')}}" method="POST">
  12. <input type="hidden" name="_token" value="{{ csrf_token() }}">
  13. <div class="form-group @if ($errors->first('old_password')) has-error @endif">
  14. <label for="old_password" class="required control-label col-sm-3">当前密码</label>
  15. <div class="col-sm-9">
  16. <input name="old_password" id="old_password" type="password" maxlength="32" placeholder="当前密码" class="form-control" value="" />
  17. @if ($errors->first('old_password'))
  18. <span class="help-block">{{ $errors->first('old_password') }}</span>
  19. @endif
  20. </div>
  21. </div>
  22. <div class="form-group @if ($errors->first('password')) has-error @endif">
  23. <label for="password" class="required control-label col-sm-3">新密码</label>
  24. <div class="col-sm-9">
  25. <input name="password" id="password" type="password" maxlength="32" placeholder="新密码" class="form-control" value="" />
  26. @if ($errors->first('password'))
  27. <span class="help-block">{{ $errors->first('password') }}</span>
  28. @endif
  29. </div>
  30. </div>
  31. <div class="form-group @if ($errors->first('password_confirmation')) has-error @endif">
  32. <label for="password_confirmation" class="required control-label col-sm-3">确认新密码</label>
  33. <div class="col-sm-9">
  34. <input name="password_confirmation" id="password_confirmation" type="password" maxlength="32" placeholder="再次输入新密码" class="form-control" value="" />
  35. @if ($errors->first('password_confirmation'))
  36. <span class="help-block">{{ $errors->first('password_confirmation') }}</span>
  37. @endif
  38. </div>
  39. </div>
  40. <div class="form-group @if ($errors->first('captcha')) has-error @endif">
  41. <label for="old_password" class="required control-label col-sm-3">验证码</label>
  42. <div class="col-sm-4">
  43. <input name="captcha" type="text" maxlength="32" placeholder="请输入下方验证码" class="form-control" value="{{ old('captcha') }}" />
  44. @if ($errors->first('captcha'))
  45. <span class="help-block">{{ $errors->first('captcha') }}</span>
  46. @endif
  47. <div class="mt-10"><a href="javascript:void(0);" id="reloadCaptcha"><img src="{{ captcha_src()}}"></a></div>
  48. </div>
  49. </div>
  50. <div class="form-action row mb-30">
  51. <div class="col-sm-offset-3 col-sm-9">
  52. <button class="btn btn-xl btn-primary" type="submit">提交</button>
  53. </div>
  54. </div>
  55. </form>
  56. </div>
  57. </div>
  58. </div>
  59. </div>
  60. @endsection