kopia lustrzana https://github.com/rtts/django-simplecms
Minor
rodzic
e0dddeda08
commit
bd654f5103
|
@ -8,7 +8,7 @@ Page = swapper.load_model('cms', 'Page')
|
|||
Section = swapper.load_model('cms', 'Section')
|
||||
|
||||
class ContactForm(forms.Form):
|
||||
sender = forms.EmailField(label=_('From'))
|
||||
sender = forms.EmailField(label=_('Your email address'))
|
||||
spam_protection = forms.CharField(label=_('Your message'), widget=forms.Textarea())
|
||||
message = forms.CharField(label=_('Your message'), widget=forms.Textarea(), initial='Hi there!')
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ div.wrapper {
|
|||
box-sizing: border-box;
|
||||
max-width: 700px;
|
||||
margin: auto;
|
||||
padding: 1rem;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
div.spacer {
|
||||
|
|
|
@ -35,7 +35,7 @@ div.wrapper {
|
|||
box-sizing: border-box;
|
||||
max-width: 700px;
|
||||
margin: auto;
|
||||
padding: 1rem; }
|
||||
padding: 0 1rem; }
|
||||
|
||||
div.spacer {
|
||||
height: 1rem;
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,5 +1,6 @@
|
|||
from cms.forms import ContactForm
|
||||
from cms.views import SectionWithFormView, register_view
|
||||
from cms.views import SectionWithFormView
|
||||
from cms.decorators import register_view
|
||||
|
||||
from .models import *
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue