jsbin/views/account.html
Aron Carroll 67af83123d Greatly improve how redirects are handled. Closes #198
Referrer is now used by default unless a form specifies an alternative.
2012-07-06 22:27:52 +01:00

19 lines
616 B
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Update your account details</title>
</head>
<body>
<form action="{{action}}" method="post">
<label for="field-email">New Password</label>
<input id="field-email" type="email" name="email" value="{{email}}" />
<label for="field-password">New Password</label>
<input id="field-password" type="key" name="key" />
<input type="hidden" name="_csrf" value="{{csrf}}" />
<input type="hidden" name="_redirect" value="home" />
<button type="submit">Update Details</button>
</form>
</body>
</html>