@@ -9,24 +9,24 @@ from django.utils.html import escape, conditional_escape
fromitertoolsimportchain
fromwikiimportmodels
fromwiki.editorsimporteditor
fromwiki.editorsimportgetEditor
fromwiki.core.diffimportsimple_merge
fromdjango.forms.widgetsimportHiddenInput
fromwiki.pluginsimportPluginSettingsFormMixin
fromwiki.coreimportbaseplugin
classCreateRootForm(forms.Form):
title=forms.CharField(label=_(u'Title'),help_text=_(u'Initial title of the article. May be overridden with revision titles.'))
content=forms.CharField(label=_(u'Type in some contents'),
help_text=_(u'This is just the initial contents of your article. After creating it, you can use more complex features like adding plugins, meta data, related articles etc...'),
summary=forms.CharField(label=_(u'Summary'),help_text=_(u'Give a short reason for your edit, which will be stated in the revision log.'),
required=False)
...
...
@@ -181,7 +181,7 @@ class CreateForm(forms.Form):
title=forms.CharField(label=_(u'Title'),)
slug=forms.SlugField(label=_(u'Slug'),help_text=_(u"This will be the address where your article can be found. Use only alphanumeric characters and - or _. Note that you cannot change the slug after creating the article."),)