<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:py="http://genshi.edgewall.org/"
      xmlns:xi="http://www.w3.org/2001/XInclude">

<xi:include href="master.html" />

<head>
    <title>${user.display_name} Profile Edit</title>
    <link rel="stylesheet" type="text/css" media="screen" href="${profile_css}" />
</head>

<body>
    <div id="userprofile_container">
        <div id="userprofile_avatar_container">
            <img id="userprofile_avatar" src="${user_avatar}" />
        </div>
        <div id="userprofile_edit_form">
            <h3>Edit Profile</h3>
            ${form.display(user, action=h.plug_url('userprofile', '/save'))}
        </div>
    </div>
</body>
</html>
