summaryrefslogtreecommitdiffstats
path: root/hyperkitty/views/forms.py
diff options
context:
space:
mode:
authorAurélien Bompard <aurelien@bompard.org>2013-02-14 16:28:50 +0100
committerAurélien Bompard <aurelien@bompard.org>2013-02-14 16:28:50 +0100
commit3ae10864b6289edbc4d756bad5d6a4276f0ab368 (patch)
treed45c71fa3daf5c8451aaf64723afb29f2480b887 /hyperkitty/views/forms.py
parenta5a7c229d1cd45d51a09133f2355f4d26618c4fa (diff)
downloadhyperkitty-3ae10864b6289edbc4d756bad5d6a4276f0ab368.tar.gz
hyperkitty-3ae10864b6289edbc4d756bad5d6a4276f0ab368.tar.xz
hyperkitty-3ae10864b6289edbc4d756bad5d6a4276f0ab368.zip
The user profile page is now editable (#32)
Diffstat (limited to 'hyperkitty/views/forms.py')
-rw-r--r--hyperkitty/views/forms.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/hyperkitty/views/forms.py b/hyperkitty/views/forms.py
index c19ace4..8cd3abd 100644
--- a/hyperkitty/views/forms.py
+++ b/hyperkitty/views/forms.py
@@ -58,6 +58,12 @@ class RegistrationForm(forms.Form):
+class UserProfileForm(forms.Form):
+ first_name = forms.CharField()
+ last_name = forms.CharField()
+
+
+
class TextInputWithButton(forms.TextInput):
"""
Render a text field and a button following the Twitter Bootstrap