You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

update.html 1.0 KiB

1 vuosi sitten
1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Update User</title>
  7. </head>
  8. <body>
  9. <h1>Update User</h1>
  10. <form method="post" action="{{ url_for('update_user', user_id=user.user_id) }}">
  11. <label>Email:</label>
  12. <input type="email" name="email" value="{{ user.email }}" required><br>
  13. <label>Given Name:</label>
  14. <input type="text" name="given_name" value="{{ user.given_name }}" required><br>
  15. <label>Surname:</label>
  16. <input type="text" name="surname" value="{{ user.surname }}" required><br>
  17. <label>City:</label>
  18. <input type="text" name="city" value="{{ user.city }}"><br>
  19. <label>Phone Number:</label>
  20. <input type="text" name="phone_number" value="{{ user.phone_number }}"><br>
  21. <label>Profile Description:</label>
  22. <textarea name="profile_description">{{ user.profile_description }}</textarea><br>
  23. <input type="submit" value="Update">
  24. </form>
  25. </body>
  26. </html>