<!DOCTYPE html>
<html>
<head><title>Settings</title></head>
<body>
  <h1>Account Settings</h1>
  <form method="POST" action="/settings">
    <label>Display Name:</label>
    <input type="text" name="name" value="{{ user.display_name }}">
    <label>Website:</label>
    <input type="text" name="website" value="{{ user.website }}">
    <button type="submit">Save</button>
  </form>
  <div id="preview"></div>
  <script>
    document.getElementById("preview").innerHTML = "{{ user.display_name }}";
  </script>
</body>
</html>
