class AdvancedSearchForm(Form): q = Search summary = Text.using(label=L_("Summary"), optional=False).with_properties(widget=WIDGET_SEARCH, placeholder=L_("Find Tickets")) effort = Rating.using(label=L_("Effort")) difficulty = Rating.using(label=L_("Difficulty")) severity = Rating.using(label=L_("Severity")) priority = Rating.using(label=L_("Priority")) tags = Tags.using(optional=True) assigned_to = OptionalUserReference.using(label=L_("Assigned To")) author = OptionalUserReference.using(label=L_("Author"))
class TicketMetaForm(Form): summary = Text.using(label=L_("Summary"), optional=False).with_properties(widget=WIDGET_SEARCH, placeholder=L_("One-line summary")) effort = Rating.using(label=L_("Effort")) difficulty = Rating.using(label=L_("Difficulty")) severity = Rating.using(label=L_("Severity")) priority = Rating.using(label=L_("Priority")) tags = Tags.using(optional=True) assigned_to = OptionalUserReference.using(label=L_("Assigned To")) superseded_by = OptionalTicketReference.using(label=L_("Superseded By")) depends_on = OptionalTicketReference.using(label=L_("Depends On"))
class BlogEntryMetaForm(BaseMetaForm): summary = (Text.using(label=L_("Title (required)", optional=False)) .with_properties(placeholder=L_("One-line title of the blog entry"))) ptime = DateTime.using(label=L_('Publication time (UTC)'), optional=True)