From d080806bba1a2bd48d8a3c2a8011ee057a300a3b Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Fri, 1 Jul 2022 03:06:11 +0200 Subject: implement personal data change form --- fietsboek/routes.py | 1 + fietsboek/templates/profile.jinja2 | 29 +++++++++++++++++++++++++++++ fietsboek/views/profile.py | 25 ++++++++++++++++++++++++- 3 files changed, 54 insertions(+), 1 deletion(-) diff --git a/fietsboek/routes.py b/fietsboek/routes.py index 4113913..3f03ae4 100644 --- a/fietsboek/routes.py +++ b/fietsboek/routes.py @@ -26,6 +26,7 @@ def includeme(config): config.add_route('admin-badge-delete', '/admin/delete-badge') config.add_route('profile', '/me') + config.add_route('change-profile', '/me/personal-data') config.add_route('add-friend', '/me/send-friend-request') config.add_route('delete-friend', '/me/delete-friend') config.add_route('accept-friend', '/me/accept-friend') diff --git a/fietsboek/templates/profile.jinja2 b/fietsboek/templates/profile.jinja2 index bd74aaf..5487b92 100644 --- a/fietsboek/templates/profile.jinja2 +++ b/fietsboek/templates/profile.jinja2 @@ -3,6 +3,35 @@ {% block content %}

{{ _("page.my_profile.title") }}

+ +
+ +

{{ _("page.my_profile.personal_data") }}

+ +
+
+ +
+ +
+
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+ +
+

{{ _("page.my_profile.friends") }}