Created
November 12, 2011 09:07
-
-
Save jamiepittock/1360274 to your computer and use it in GitHub Desktop.
Update password form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{embed="layout/_start" | |
body_class="" | |
section="" | |
{!-- BETTER META OPTIONS BELOW --} | |
title="" | |
title_suffix="" | |
title_prefix="" | |
description="" | |
keywords="" | |
robots_index="" | |
robots_follow="" | |
robots_archive="" | |
canonical_url="" | |
} | |
{if segment_3 == "success"} | |
<p>Success. You've updated your password.</p> | |
{if:else} | |
{exp:zoo_visitor:update_form | |
return="forms/change_password/success" | |
} | |
<fieldset> | |
<h2>Change password</h2> | |
<p>When changing your password, you will be asked to login again for security reasons.</p> | |
<div class="form_field"> | |
<label for="change_current_password">Current password:</label> | |
<input type="password" name="current_password" id="change_current_password" /> | |
</div> | |
<div class="form_field"> | |
<label for="change_new_password">New password:</label> | |
<input type="password" name="new_password" id="change_new_password" /> | |
</div> | |
<div class="form_field"> | |
<label for="change_new_confirm_password">Confirm new password:</label> | |
<input type="password" name="new_confirm_password" id="change_new_confirm_password" /> | |
</div> | |
<div class="submit"> | |
<input type="submit" name="submit" value="Submit" /> | |
</div> | |
</fieldset> | |
{/exp:zoo_visitor:update_form} | |
{/if} | |
{embed="layout/_end"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment