//- vim:ts=4:sw=4:
doctype html
html
head
include head
title Change name
body
include header
article
h1 Change name
if flash
p.error= flash
form(method="post" action="/change-name")
p Name: #{user.name}
p Mail: #{user.mail}
p
label New name:
br
input(type="text" name="newname" required)
p
button(type="submit") Change name