From 9fae328f6c1e7e5c1f4485ddbab71b4000dbd110 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Mon, 19 Sep 2016 14:53:42 +0200 Subject: [PATCH] registration form with survey --- contact/templates/contact/form.html | 4 +- contact/templates/contact/thanks.html | 2 +- events/templates/events/event_list.html | 2 +- prawokultury/contact_forms.py | 99 +++++- prawokultury/locale/pl/LC_MESSAGES/django.mo | Bin 7627 -> 11106 bytes prawokultury/locale/pl/LC_MESSAGES/django.po | 304 ++++++++++++++---- prawokultury/static/css/forms.css | 26 +- prawokultury/static/css/forms.scss | 29 +- prawokultury/templates/404.html | 4 +- prawokultury/templates/base.html | 18 +- .../contact/register-speaker/form.html | 4 +- .../templates/contact/register/form.html | 17 +- .../templates/contact/workshop/form.html | 4 +- .../snippets/field_as_table_row.html | 4 + 14 files changed, 411 insertions(+), 106 deletions(-) create mode 100644 prawokultury/templates/snippets/field_as_table_row.html diff --git a/contact/templates/contact/form.html b/contact/templates/contact/form.html index 29fdfa8..f1b06fb 100644 --- a/contact/templates/contact/form.html +++ b/contact/templates/contact/form.html @@ -1,9 +1,9 @@ {% extends "base.html" %} {% load i18n chunks %} -{% block "titleextra" %}{{ form.form_title }} :: {% endblock %} +{% block titleextra %}{{ form.form_title }} :: {% endblock %} -{% block "body" %} +{% block body %}

{% block contact_form_title %}{{ form.form_title }}{% endblock %}

diff --git a/contact/templates/contact/thanks.html b/contact/templates/contact/thanks.html index 6194e4e..fa4d8d5 100644 --- a/contact/templates/contact/thanks.html +++ b/contact/templates/contact/thanks.html @@ -1,6 +1,6 @@ {% extends "base.html" %} {% load i18n %} -{% block "body" %} +{% block body %}

{% block contact_form_title %}{% trans "Thank you" %}{% endblock %}

diff --git a/events/templates/events/event_list.html b/events/templates/events/event_list.html index b6dd773..ad2a92c 100755 --- a/events/templates/events/event_list.html +++ b/events/templates/events/event_list.html @@ -3,7 +3,7 @@ {% load i18n pagination_tags fnp_prevnext %} {% load events_tags %} -{% block "body" %} +{% block body %}

{% trans "Events" %}

{% autopaginate object_list 10 %} diff --git a/prawokultury/contact_forms.py b/prawokultury/contact_forms.py index 8ce6aa6..60ef542 100644 --- a/prawokultury/contact_forms.py +++ b/prawokultury/contact_forms.py @@ -38,6 +38,82 @@ class RegistrationForm(ContactForm): # ('only-7th', _('November 7th only')), # ], widget=forms.RadioSelect()) + # ankieta + times_attended = forms.ChoiceField( + required=False, + label=_("1. How many times have you attended CopyCamp?"), + choices=[ + ('0', _('not yet')), + ('1', _('once')), + ('2', _('twice')), + ('3', _('three times')), + ('4', _('four times')), + ], widget=forms.RadioSelect()) + age = forms.ChoiceField( + required=False, + label=_("2. Please indicate your age bracket:"), + choices=[ + ('0-19', _('19 or below')), + ('20-25', _('20-25')), + ('26-35', _('26-35')), + ('36-45', _('36-45')), + ('46-55', _('46-55')), + ('56-65', _('56-65')), + ('66+', _('66 or above')), + ], widget=forms.RadioSelect()) + distance = forms.ChoiceField( + required=False, + label=_("3. How far will you travel to attend CopyCamp?"), + choices=[ + ('0-50', _('0-50 km')), + ('51-100', _('51-100 km')), + ('101-200', _('101-200 km')), + ('200+', _('200 km or more')), + ], widget=forms.RadioSelect()) + areas = forms.MultipleChoiceField( + required=False, + label=_("4. Please indicate up to 3 areas you feel most affiliated with"), + choices=[ + ('sztuki plastyczne', _('visual art')), + ('literatura', _('literature')), + ('muzyka', _('music')), + ('teatr', _('theatre')), + ('film', _('film production')), + ('wydawanie', _('publishing')), + ('prawo', _('law')), + ('ekonomia', _('economy')), + ('socjologia', _('sociology')), + ('technika', _('technology')), + ('edukacja', _('education')), + ('studia', _('higher education')), + ('nauka', _('academic research')), + ('biblioteki', _('library science')), + ('administracja', _('public administration')), + ('ngo', _('nonprofit organisations')), + ('other', _('other (please specify below)')), + ], widget=forms.CheckboxSelectMultiple()) + areas_other = forms.CharField(required=False, label=_('Fill if you selected “other” above')) + source = forms.ChoiceField( + required=False, + label=_("5. Please indicate how you received information about the conference:"), + choices=[ + ('znajomi', _('through friends sharing on the web')), + ('fnp', _('directly through the Foundation\'s facebook or website')), + ('www', _('through other websites (please specify below)')), + ('other', _('other (please specify below)')), + ], widget=forms.RadioSelect()) + source_other = forms.CharField(required=False, label=_('Fill if you selected “other” or “other website” above')) + motivation = forms.ChoiceField( + required=False, + label=_("6. Please indicate the most important factor for your willingness to participate:"), + choices=[ + ('idea', _('the main idea of the conference')), + ('speaker', _('particular speaker(s)')), + ('networking', _('good networking occasion')), + ('other', _('other (please specify below)')), + ], widget=forms.RadioSelect()) + motivation_other = forms.CharField(required=False, label=_('Fill if you selected “other” above')) + agree_mailing = forms.BooleanField( label=_('I am interested in receiving information about the Modern Poland Foundation\'s activities by e-mail'), required=False @@ -48,7 +124,7 @@ class RegistrationForm(ContactForm): ) agree_license = forms.BooleanField( label=_('Permission for publication'), - help_text=_('I agree to having materials, recorded during the conference, released under the terms of CC BY-SA license and to publishing my image.'), + help_text=mark_safe_lazy(_(u'I agree to having materials, recorded during the conference, released under the terms of CC\u00a0BY-SA license and to publishing my image.')), required=False ) @@ -60,11 +136,28 @@ class RegistrationForm(ContactForm): url = Entry.objects.get(slug_pl='regulamin').get_absolute_url() self.fields['agree_toc'] = forms.BooleanField( required=True, - label = mark_safe(_('I accept Terms and Conditions of CopyCamp') % url) + label=mark_safe(_('I accept Terms and Conditions of CopyCamp') % url) ) except Entry.DoesNotExist: pass + def clean_areas(self): + data = self.cleaned_data['areas'] + if len(data) > 3: + raise forms.ValidationError(_('Select at most 3 areas')) + return data + + def main_fields(self): + return [self[name] for name in ('first_name', 'last_name', 'contact', 'organization', 'country')] + + def survey_fields(self): + return [self[name] for name in ( + 'times_attended', 'age', 'distance', + 'areas', 'areas_other', 'source', 'source_other', 'motivation', 'motivation_other')] + + def agreement_fields(self): + return [self[name] for name in ('agree_mailing', 'agree_data', 'agree_license')] + tracks = ( _('Copyright and Art'), @@ -216,7 +309,7 @@ class WorkshopForm(ContactForm): ) agree_license = forms.BooleanField( label=_('Permission for publication'), - help_text=_('I agree to having materials, recorded during the conference, released under the terms of CC BY-SA license and to publishing my image.'), + help_text=mark_safe_lazy(_(u'I agree to having materials, recorded during the conference, released under the terms of CC\u00a0BY-SA license and to publishing my image.')), required=False ) diff --git a/prawokultury/locale/pl/LC_MESSAGES/django.mo b/prawokultury/locale/pl/LC_MESSAGES/django.mo index 3d80ad9adf74ed4f9416879337641147a77ddfb0..f317ff85fb5e1edc1a3c45995ba57bbf40ad444e 100644 GIT binary patch delta 4964 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 K\n" "Language-Team: FNP \n" @@ -31,11 +31,11 @@ msgstr "Imię" msgid "Last name" msgstr "Nazwisko" -#: contact_forms.py:28 contact_forms.py:174 contact_forms.py:186 +#: contact_forms.py:28 contact_forms.py:266 contact_forms.py:278 msgid "E-mail" msgstr "E-mail" -#: contact_forms.py:29 contact_forms.py:175 contact_forms.py:187 +#: contact_forms.py:29 contact_forms.py:267 contact_forms.py:279 msgid "Organization" msgstr "Organizacja" @@ -43,7 +43,200 @@ msgstr "Organizacja" msgid "Country" msgstr "Kraj" -#: contact_forms.py:42 +#: contact_forms.py:44 +msgid "1. How many times have you attended CopyCamp?" +msgstr "1. W CopyCamp brałam(em) udział:" + +#: contact_forms.py:46 +msgid "not yet" +msgstr "nie brałam(em) jeszcze udziału w CopyCampie" + +#: contact_forms.py:47 +msgid "once" +msgstr "1 raz" + +#: contact_forms.py:48 +msgid "twice" +msgstr "2 razy" + +#: contact_forms.py:49 +msgid "three times" +msgstr "3 razy" + +#: contact_forms.py:50 +msgid "four times" +msgstr "4 razy" + +#: contact_forms.py:54 +msgid "2. Please indicate your age bracket:" +msgstr "2. Mam lat:" + +#: contact_forms.py:56 +msgid "19 or below" +msgstr "19 lub poniżej" + +#: contact_forms.py:57 +msgid "20-25" +msgstr "20-25" + +#: contact_forms.py:58 +msgid "26-35" +msgstr "26-35" + +#: contact_forms.py:59 +msgid "36-45" +msgstr "36-45" + +#: contact_forms.py:60 +msgid "46-55" +msgstr "46-55" + +#: contact_forms.py:61 +msgid "56-65" +msgstr "56-65" + +#: contact_forms.py:62 +msgid "66 or above" +msgstr "66 lub więcej" + +#: contact_forms.py:66 +msgid "3. How far will you travel to attend CopyCamp?" +msgstr "3. Aby dołączyć na CopyCamp przejadę:" + +#: contact_forms.py:68 +msgid "0-50 km" +msgstr "0-50 km" + +#: contact_forms.py:69 +msgid "51-100 km" +msgstr "51-100 km" + +#: contact_forms.py:70 +msgid "101-200 km" +msgstr "101-200 km" + +#: contact_forms.py:71 +msgid "200 km or more" +msgstr "200 km lub więcej" + +#: contact_forms.py:75 +msgid "4. Please indicate up to 3 areas you feel most affiliated with" +msgstr "" +"4. Obszary, z którymi czuję się najbardziej związana(y), do trzech wyborów:" + +#: contact_forms.py:77 +msgid "visual art" +msgstr "sztuki plastyczne" + +#: contact_forms.py:78 +msgid "literature" +msgstr "literatura" + +#: contact_forms.py:79 +msgid "music" +msgstr "muzyka" + +#: contact_forms.py:80 +msgid "theatre" +msgstr "teatr" + +#: contact_forms.py:81 +msgid "film production" +msgstr "produkcja filmowa" + +#: contact_forms.py:82 +msgid "publishing" +msgstr "działalność wydawnicza" + +#: contact_forms.py:83 +msgid "law" +msgstr "prawo" + +#: contact_forms.py:84 +msgid "economy" +msgstr "ekonomia" + +#: contact_forms.py:85 +msgid "sociology" +msgstr "socjologia" + +#: contact_forms.py:86 +msgid "technology" +msgstr "technika" + +#: contact_forms.py:87 +msgid "education" +msgstr "edukacja" + +#: contact_forms.py:88 +msgid "higher education" +msgstr "studia wyższe" + +#: contact_forms.py:89 +msgid "academic research" +msgstr "badania naukowe" + +#: contact_forms.py:90 +msgid "library science" +msgstr "działalność biblioteczna" + +#: contact_forms.py:91 +msgid "public administration" +msgstr "administracja publiczna" + +#: contact_forms.py:92 +msgid "nonprofit organisations" +msgstr "organizacja pozarządowa" + +#: contact_forms.py:93 contact_forms.py:103 contact_forms.py:113 +msgid "other (please specify below)" +msgstr "inne (wpisz poniżej)" + +#: contact_forms.py:95 contact_forms.py:115 +msgid "Fill if you selected “other” above" +msgstr "Wypełnij, jeśli powyżej wybrałaś(eś) „inne”" + +#: contact_forms.py:98 +msgid "5. Please indicate how you received information about the conference:" +msgstr "5. O konferencji CopyCamp dowiedziałam(em) się:" + +#: contact_forms.py:100 +msgid "through friends sharing on the web" +msgstr "przez znajomych w sieciach społecznościowych" + +#: contact_forms.py:101 +msgid "directly through the Foundation's facebook or website" +msgstr "informacja na stronie internetowej/facebooku Fundacji" + +#: contact_forms.py:102 +msgid "through other websites (please specify below)" +msgstr "informacja na innej stronie internetowej (wpisz poniżej)" + +#: contact_forms.py:105 +msgid "Fill if you selected “other” or “other website” above" +msgstr "Wypełnij, jeśli wybrałaś(eś) powyżej „inne” lub „inna strona”" + +#: contact_forms.py:108 +msgid "" +"6. Please indicate the most important factor for your willingness to " +"participate:" +msgstr "" +"6. Do rejestracji i chęci uczestniczenia w CopyCampie skłoniła mnie w " +"największym stopniu:" + +#: contact_forms.py:110 +msgid "the main idea of the conference" +msgstr "idea konferencji" + +#: contact_forms.py:111 +msgid "particular speaker(s)" +msgstr "konkretna(y) prelegentka(ent)" + +#: contact_forms.py:112 +msgid "good networking occasion" +msgstr "możliwość networkingu" + +#: contact_forms.py:118 msgid "" "I am interested in receiving information about the Modern Poland " "Foundation's activities by e-mail" @@ -51,11 +244,11 @@ msgstr "" "Jestem zainteresowana/y otrzymywaniem drogą mailową informacji dotyczących " "działalności Fundacji Nowoczesna Polska" -#: contact_forms.py:46 contact_forms.py:215 +#: contact_forms.py:122 contact_forms.py:307 msgid "Permission for data processing" msgstr "Zgoda na przetwarzanie danych" -#: contact_forms.py:47 contact_forms.py:216 +#: contact_forms.py:123 contact_forms.py:308 msgid "" "I hereby grant Modern Poland Foundation (Fundacja Nowoczesna Polska, ul. " "Marszałkowska 84/92, 00-514 Warszawa) permission to process my personal data " @@ -65,140 +258,139 @@ msgstr "" "poczty elektronicznej) przez Fundację Nowoczesna Polska (ul. Marszałkowska " "84/92, 00-514 Warszawa) w związku z rejestracją na konferencję CopyCamp." -#: contact_forms.py:50 contact_forms.py:219 +#: contact_forms.py:126 contact_forms.py:311 msgid "Permission for publication" msgstr "Zgoda na publikację" -#: contact_forms.py:51 contact_forms.py:220 +#: contact_forms.py:127 contact_forms.py:312 msgid "" "I agree to having materials, recorded during the conference, released under " "the terms of CC BY-SA license and to publishing my image." +"\">CC BY-SA license and to publishing my image." msgstr "" "Wyrażam zgodę na publikację materiałów zarejestrowanych na konferencji na " "licencji CC BY-SA oraz rozpowszechnianie wizerunku." +"\">CC BY-SA oraz rozpowszechnianie wizerunku." -#: contact_forms.py:63 +#: contact_forms.py:139 #, python-format msgid "I accept Terms and Conditions of CopyCamp" msgstr "Akceptuję Regulamin CopyCampu" -#: contact_forms.py:70 +#: contact_forms.py:147 +msgid "Select at most 3 areas" +msgstr "Wybierz najwyżej 3 obszary" + +#: contact_forms.py:163 msgid "Copyright and Art" msgstr "Prawo autorskie i sztuka" -#: contact_forms.py:71 +#: contact_forms.py:164 msgid "Remuneration Models" msgstr "Modele wynagradzania" -#: contact_forms.py:72 +#: contact_forms.py:165 msgid "Copyright, Education and Science" msgstr "Prawo autorskie, edukacja i nauka" -#: contact_forms.py:73 +#: contact_forms.py:166 msgid "Technology, Innovation and Copyright" msgstr "Technologie, innowacje i prawo autorskie" -#: contact_forms.py:74 +#: contact_forms.py:167 msgid "Copyright and Human Rights" msgstr "Prawo autorskie i prawa człowieka" -#: contact_forms.py:75 +#: contact_forms.py:168 msgid "Copyright Enforcement" msgstr "Egzekwowanie prawa autorskiego" -#: contact_forms.py:76 +#: contact_forms.py:169 msgid "Copyright Debate" msgstr "Język debaty prawnoautorskiej" -#: contact_forms.py:77 +#: contact_forms.py:170 msgid "Copyright Lawmaking" msgstr "Tworzenie prawa autorskiego" -#: contact_forms.py:84 +#: contact_forms.py:177 msgid "Open call for presentations" msgstr "Otwarty nabór prezentacji" -#: contact_forms.py:87 +#: contact_forms.py:180 msgid "Please select one thematic track" msgstr "Wybierz jedną ścieżkę tematyczną" -#: contact_forms.py:91 +#: contact_forms.py:184 msgid "" "Short biographical note in Polish (max. 500 characters, fill at " "least one bio)" msgstr "Krótka notka biograficzna po polsku (maks. 500 znaków)" -#: contact_forms.py:93 +#: contact_forms.py:186 msgid "Short biographical note in English (max. 500 characters)" msgstr "" "Krótka notka biograficzna po angielsku (maks. 500 znaków; wypełnij " "przynajmniej jedną wersję językową, najlepiej obie)" -#: contact_forms.py:95 +#: contact_forms.py:188 msgid "Photo" msgstr "Zdjęcie" -#: contact_forms.py:96 +#: contact_forms.py:189 msgid "Phone number" msgstr "Numer telefonu" -#: contact_forms.py:98 +#: contact_forms.py:191 msgid "Used only for organizational purposes." msgstr "Używany wyłącznie do celów organizacyjnych." -#: contact_forms.py:102 +#: contact_forms.py:195 msgid "" "Title of the presentation in Polish (fill at least one " "title)" msgstr "Polski tytuł prezentacji" -#: contact_forms.py:104 +#: contact_forms.py:197 msgid "Title of the presentation in English" msgstr "" "Angielski tytuł prezentacji (wypełnij przynajmniej jeden tytuł, najlepiej " "oba)" -#: contact_forms.py:107 +#: contact_forms.py:200 msgid "Summary of presentation (max. 1800 characters)" msgstr "Krótki opis prezentacji (maks. 1800 znaków)" -#: contact_forms.py:111 +#: contact_forms.py:204 msgid "" "I am interested in including my paper in the post-conference publication" msgstr "" "Jestem zainteresowana/y umieszczeniem pisemnej wersji mojego wystąpienia w " "publikacji pokonferencyjnej" -#: contact_forms.py:118 -msgid "Terms and Conditions" -msgstr "Regulamin" - -#: contact_forms.py:119 +#: contact_forms.py:211 msgid "" -"I accept CopyCamp Terms and Conditions." -msgstr "" -"Akceptuję regulamin CopyCampu" +"I accept CopyCamp Terms and " +"Conditions." +msgstr "Akceptuję regulamin CopyCampu" -#: contact_forms.py:161 +#: contact_forms.py:253 msgid "Fill at least one bio!" msgstr "Wpisz przynajmniej jedną notkę biograficzną (po polsku lub angielsku)!" -#: contact_forms.py:163 +#: contact_forms.py:255 msgid "Fill at least one title!" msgstr "Wpisz przynajmniej jeden tytuł prezentacji (po polsku lub angielsku)!" -#: contact_forms.py:171 +#: contact_forms.py:263 msgid "Next CopyCamp" msgstr "Kolejny CopyCamp" -#: contact_forms.py:173 contact_forms.py:185 +#: contact_forms.py:265 contact_forms.py:277 msgid "Name" msgstr "Imię i nazwisko" -#: contact_forms.py:183 +#: contact_forms.py:275 msgid "Workshop" msgstr "Warsztat" @@ -240,6 +432,14 @@ msgstr "" "href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>Creative " "Commons Uznanie autorstwa – Na tych samych warunkach." +#: templates/contact/register/form.html:34 +msgid "" +"We would be grateful if you could answer our questions below. This will " +"allow us to better adapt to your expectations in the future." +msgstr "" +"Będziemy wdzięczni jeżeli odpowiesz nam na poniższe pytania. Pozwoli nam to " +"lepiej dopasować się do Waszych oczekiwań." + #: templates/contact/register/mail_body.txt:2 #, python-format msgid "" @@ -289,8 +489,8 @@ msgstr "Dziękujemy za zgłoszenie." #: templates/contact/register-speaker/thanks.html:8 msgid "" -"Your submission can be modified until August 10 using the unique link sent to " -"you by e-mail." +"Your submission can be modified until August 10 using the unique link sent " +"to you by e-mail." msgstr "" "Zgłoszenie można modyfikować do 10 sierpnia używając unikalnego adresu " "przesłanego e-mailem." @@ -311,6 +511,9 @@ msgstr "" "Dziękujemy za wypełnienie formularza rejestracji na warsztaty na stronie " "%(site_name)s." +#~ msgid "Terms and Conditions" +#~ msgstr "Regulamin" + #~ msgid "Take part! / Workshops" #~ msgstr "Weź udział! / Warsztaty" @@ -345,9 +548,6 @@ msgstr "" #~ msgid "How to Be Paid?" #~ msgstr "Jak zarabiać na twórczości?" -#~ msgid "Self-Publishing" -#~ msgstr "Self-publishing" - #~ msgid "Future of the Book" #~ msgstr "Przyszłość książki" @@ -357,9 +557,6 @@ msgstr "" #~ msgid "I'm planning to show up on" #~ msgstr "Planuję pojawić się" -#~ msgid "Both days of the conference" -#~ msgstr "w oba dni konferencji" - #~ msgid "November 6th only" #~ msgstr "tylko 6-go listopada" @@ -431,9 +628,6 @@ msgstr "" #~ msgid "About us" #~ msgstr "O nas" -#~ msgid "Publications" -#~ msgstr "Publikacje" - #~ msgid "Events" #~ msgstr "Wydarzenia" diff --git a/prawokultury/static/css/forms.css b/prawokultury/static/css/forms.css index 2822113..5b016bf 100644 --- a/prawokultury/static/css/forms.css +++ b/prawokultury/static/css/forms.css @@ -20,12 +20,12 @@ list-style: url("/static/img/read-more.png"); } .submit-form input, .submit-form textarea, .submit-form select { font-size: 1.2em; - border: 0; background-color: white; color: #363A3B; - width: 100%; margin-bottom: .5em; - border: 1px solid #EDECE7; } + border: 1px solid #aeada8; } + .submit-form textarea, .submit-form select { + width: 100%; } .submit-form th, .submit-form td { text-align: left; font-weight: normal; @@ -36,21 +36,21 @@ font-size: 1.1em; } .submit-form .helptext a { color: #363A3B; } - .submit-form .required label { - font-weight: bold; } - .submit-form .required label:before { - content: '* '; } - .submit-form .required ul { + .submit-form tr ul { list-style: none; margin: 0; padding: 0; } - .submit-form .required ul label { - font-weight: normal; } - .submit-form .required ul label:before { - content: none; } - .submit-form .required ul.errorlist { + .submit-form tr ul.errorlist { list-style: url("/static/img/read-more.png"); padding: 0 0 0 1.3em; margin: 0 0 .5em 0; } + .submit-form .required label { + font-weight: bold; } + .submit-form .required label:before { + content: '* '; } + .submit-form .required ul label { + font-weight: normal; } + .submit-form .required ul label:before { + content: none; } .submit-form input[type="radio"] { width: auto; } diff --git a/prawokultury/static/css/forms.scss b/prawokultury/static/css/forms.scss index 298f90a..107cdf9 100644 --- a/prawokultury/static/css/forms.scss +++ b/prawokultury/static/css/forms.scss @@ -31,14 +31,15 @@ input, textarea, select { font-size: 1.2em; - border: 0; background-color: white; color: #363A3B; - width: 100%; margin-bottom: .5em; - border: 1px solid #EDECE7; + border: 1px solid #aeada8; + } + + textarea, select { + width: 100%; } - th, td { text-align: left; @@ -55,6 +56,17 @@ } } + tr ul { + list-style: none; + margin: 0; + padding: 0; + &.errorlist { + list-style: url("/static/img/read-more.png"); + padding: 0 0 0 1.3em; + margin: 0 0 .5em 0; + } + } + .required { label { font-weight: bold; @@ -65,10 +77,6 @@ } ul { - list-style: none; - margin: 0; - padding: 0; - label { font-weight: normal; @@ -76,11 +84,6 @@ content: none; } } - &.errorlist { - list-style: url("/static/img/read-more.png"); - padding: 0 0 0 1.3em; - margin: 0 0 .5em 0; - } } } diff --git a/prawokultury/templates/404.html b/prawokultury/templates/404.html index 62bbbe8..1ef6711 100755 --- a/prawokultury/templates/404.html +++ b/prawokultury/templates/404.html @@ -2,10 +2,10 @@ {% load i18n %} -{% block "titleextra" %}{% trans "Page not found" %} :: {% endblock %} +{% block titleextra %}{% trans "Page not found" %} :: {% endblock %} -{% block "body" %} +{% block body %}

{% trans "Page not found" %}

diff --git a/prawokultury/templates/base.html b/prawokultury/templates/base.html index 48293a8..fbb3d76 100755 --- a/prawokultury/templates/base.html +++ b/prawokultury/templates/base.html @@ -7,17 +7,17 @@ {% load piwik_tags %} - {% block "titleextra" %}{% endblock %}CopyCamp + {% block titleextra %}{% endblock %}CopyCamp {% compressed_css 'base' %} - - + + - - - + + + @@ -51,7 +51,7 @@