12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- {extend name="common/common2" /}
- {block name="main"}
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-title">
- <h5>密码修改</h5>
- </div>
- <div class="ibox-content">
- <form method="post" action="{:url('modifyPass')}" class="form-horizontal">
- <div class="form-group">
- <label class="col-sm-2 control-label">旧密码<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="password" class="form-control" name="oldpass" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">新密码<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="password" class="form-control" name="pass" value="">
- </div>
- </div>
- <div class="form-group">
- <label class="col-sm-2 control-label">确认新密码<span class="text-danger">*</span></label>
- <div class="col-sm-6">
- <input type="password" class="form-control" name="pass_confirm" value="">
- </div>
- </div>
- <div class="hr-line-dashed"></div>
- <div class="form-group">
- <div class="col-sm-6 col-sm-offset-2">
- <button class="btn btn-primary ajax-post" target-form="form-horizontal" type="submit">确 定</button>
- </div>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- {/block}
- {block name="script"}
- <script>
- $(document).ready(function(){
- formSetValue("enable", {$info.enable|default=1});
- });
- </script>
- {/block}
|