这是我的表单页面,我想将此表单隐藏在链接或称为更改密码的按钮下,一旦用户单击它,它必须显示此表单。任何帮助,将不胜感激。
<form action="#buildurl('user.change_password')#" method="post">
<input type="hidden" name="email" id="email" value="#session.auth.email#">
<div class="control-group">
<label class="label-control" for="password">Enter current password</label>
<div class="controls">
<input type="password" name="password" id="password" >
</div>
</div>
<div class="control-group">
<label class="label-control" for="password_new">Enter New password</label>
<div class="controls">
<input type="password" name="password_new" id="password_new" >
</div>
</div>
<div class="control-group">
<label class="label-control" for="password_confirm">Enter confirm password</label>
<div class="controls">
<input type="password" name="password_confirm" id="password_confirm" >
</div>
</div>
<div>
<button type="submit" name="submit_password" id="submit_password" class="btn btn-primary">Submit</button>
</div>
</form>