Skip to content

Commit

Permalink
Merge pull request #39 from LKKTGB/form_account_deletion
Browse files Browse the repository at this point in the history
feat: add Airtable embeded form for account deletion request
  • Loading branch information
badboy99tw committed Sep 23, 2021
2 parents b2b4400 + 46964b9 commit a3c57a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions thiamsu/templates/thiamsu/account_deletion.html
@@ -0,0 +1,6 @@
{% extends 'thiamsu/base.html' %}
{% load static %}

{% block content %}
<iframe class="airtable-embed" src="https://airtable.com/embed/shrTVEQ2LObXscTtp?backgroundColor=gray" frameborder="0" onmousewheel="" width="100%" height="958" style="background: transparent; border: 1px solid #ccc;"></iframe>
{% endblock %}
1 change: 1 addition & 0 deletions thiamsu/urls.py
Expand Up @@ -22,6 +22,7 @@

urlpatterns = [
url(r"^$", views.home, name="home"),
url(r"^form/account_deletion", views.account_deletion, name="account_deletion"),
url(r"^policies/privacy", views.privacy_policy, name="policy_privacy"),
url(r"^search/$", views.search, name="search"),
url(r"^song/(?P<id>[0-9]*)/$", views.song_detail, name="song_detail"),
Expand Down
4 changes: 4 additions & 0 deletions thiamsu/views.py
Expand Up @@ -361,3 +361,7 @@ def get_contributions(user):
def privacy_policy(request):
policy = PrivacyPolicy.get_solo()
return render(request, "thiamsu/privacy_policy.html", {"privacy_policy": policy})


def account_deletion(request):
return render(request, "thiamsu/account_deletion.html")

0 comments on commit a3c57a3

Please sign in to comment.