X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6280673f35e13e75e81c5b7821bd2a44a1831eab..357027375ff8867f42ca34bcbfb5a78b5b185fc3:/apps/suggest/views.py diff --git a/apps/suggest/views.py b/apps/suggest/views.py deleted file mode 100644 index 035074d0a..000000000 --- a/apps/suggest/views.py +++ /dev/null @@ -1,24 +0,0 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. -# -from django.utils.translation import ugettext_lazy as _ - -from ajaxable.utils import AjaxableFormView -from suggest import forms - - -class PublishingSuggestionFormView(AjaxableFormView): - form_class = forms.PublishingSuggestForm - title = _('Report a bug or suggestion') - template = "publishing_suggest.html" - success_message = _('Report was sent successfully.') - honeypot = True - - -class SuggestionFormView(AjaxableFormView): - form_class = forms.SuggestForm - title = _('Report a bug or suggestion') - submit = _('Send report') - success_message = _('Report was sent successfully.') - honeypot = True