Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update collective/exhibit/content/exhibit.py

  • Loading branch information...
commit 86068de7baa5ce9b744d6f80d83fdc9100388ebd 1 parent 37f46ea
@cguardia cguardia authored
Showing with 2 additions and 5 deletions.
  1. +2 −5 collective/exhibit/content/exhibit.py
View
7 collective/exhibit/content/exhibit.py
@@ -67,12 +67,9 @@ class IExhibit(form.Schema):
class IInitialSections(form.Schema):
- form.fieldset('initial_sections', label=_(u'Add Sections'),
- fields=['sections'])
-
sections = schema.List(title=_(u'Exhibit Sections'),
- required=False,
- description=u'Add the titles of any sections that you wish to add to the exhibit, one per line.',
+ required=True,
+ description=u'Add the titles of any sections that you wish to add to the exhibit, one per line. You must add at least one section.',
value_type=schema.TextLine())
form.omitted('sections')
Please sign in to comment.
Something went wrong with that request. Please try again.