more tweaks to field label and help text to be more generic for different types of proposal

This commit is contained in:
James Tauber 2013-02-20 01:04:20 -05:00
parent 826b8e960a
commit 96830f3c21

View file

@ -83,13 +83,13 @@ class ProposalBase(models.Model):
title = models.CharField(max_length=100) title = models.CharField(max_length=100)
description = models.TextField( description = models.TextField(
_("Brief Outline"), _("Brief Description"),
max_length=400, # @@@ need to enforce 400 in UI max_length=400, # @@@ need to enforce 400 in UI
help_text="If your proposal is accepted this will be made public and printed in the program. Should be one paragraph, maximum 400 characters." help_text="If your proposal is accepted this will be made public and printed in the program. Should be one paragraph, maximum 400 characters."
) )
abstract = MarkupField( abstract = MarkupField(
_("Detailed Abstract"), _("Detailed Abstract"),
help_text=_("Detailed description and outline. Will be made public if your proposal is accepted. Edit using <a href='http://daringfireball.net/projects/markdown/basics' target='_blank'>Markdown</a>.") help_text=_("Detailed outline. Will be made public if your proposal is accepted. Edit using <a href='http://daringfireball.net/projects/markdown/basics' target='_blank'>Markdown</a>.")
) )
additional_notes = MarkupField( additional_notes = MarkupField(
blank=True, blank=True,