aboutsummaryrefslogtreecommitdiff
path: root/ihatemoney/forms.py
diff options
context:
space:
mode:
authorBrice Maron <brice@bmaron.net>2019-08-13 23:34:04 +0200
committerAlexis Metaireau <alexis@notmyidea.org>2019-08-26 19:59:55 +0000
commit0edf8634a4257b601d18053cf72fc63f285a6871 (patch)
tree760bf6e02cd4d5382d732cbb64ce6308a8d8e65d /ihatemoney/forms.py
parent09d887cde2c2b845b2e4ccbdb64a9044c015a795 (diff)
downloadihatemoney-mirror-0edf8634a4257b601d18053cf72fc63f285a6871.zip
ihatemoney-mirror-0edf8634a4257b601d18053cf72fc63f285a6871.tar.gz
ihatemoney-mirror-0edf8634a4257b601d18053cf72fc63f285a6871.tar.bz2
Move export form to links
Diffstat (limited to 'ihatemoney/forms.py')
-rw-r--r--ihatemoney/forms.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/ihatemoney/forms.py b/ihatemoney/forms.py
index 67f4ec1..d0bcb55 100644
--- a/ihatemoney/forms.py
+++ b/ihatemoney/forms.py
@@ -215,16 +215,3 @@ class InviteForm(FlaskForm):
except email_validator.EmailNotValidError:
raise ValidationError(_("The email %(email)s is not valid",
email=email))
-
-
-class ExportForm(FlaskForm):
- export_type = SelectField(
- _("What do you want to download ?"),
- validators=[Required()],
- coerce=str,
- choices=[("bills", _("bills")), ("transactions", _("transactions"))])
- export_format = SelectField(
- _("Export file format"),
- validators=[Required()],
- coerce=str,
- choices=[("csv", "csv"), ("json", "json")])