X-Git-Url: https://git.mdrn.pl/prawokultury.git/blobdiff_plain/99ff7cb43e460029b1769fc21f704b7614381cf1..a84463e418ebe210f8c0ae2f466ad268d31e4c36:/contact/forms.py?ds=inline

diff --git a/contact/forms.py b/contact/forms.py
index 70a415b..82eba4b 100644
--- a/contact/forms.py
+++ b/contact/forms.py
@@ -5,6 +5,7 @@ from django.core.validators import email_re
 from django import forms
 from django.template.loader import render_to_string
 from django.template import RequestContext
+from django.utils.translation import ugettext_lazy as _
 from .models import Attachment, Contact
 
 
@@ -20,9 +21,13 @@ class ContactFormMeta(forms.Form.__metaclass__):
 class ContactForm(forms.Form):
     """Subclass and define some fields."""
     __metaclass__ = ContactFormMeta
+
+    form_tag = None
+    form_title = _('Contact form')
+    submit_label = _('Submit')
+
     required_css_class = 'required'
     contact = forms.CharField(max_length=128)
-    form_tag = None
 
     def save(self, request):
         body = {}