diff --git a/hypha/apply/funds/blocks.py b/hypha/apply/funds/blocks.py index 48d49381bf5afb5f20abc2a1384bd37669c8a7bd..9a458e415908b0fe07f4c0828bcc218958078569 100644 --- a/hypha/apply/funds/blocks.py +++ b/hypha/apply/funds/blocks.py @@ -27,6 +27,8 @@ class ApplicationMustIncludeFieldBlock(MustIncludeFieldBlock): class TitleBlock(ApplicationMustIncludeFieldBlock): name = 'title' description = 'The title of the project' + field_label = blocks.CharBlock(label=_('Label'), default=_('What is the title of your application?')) + help_text = blocks.TextBlock(required=False, label=_('Help text'), default=_("This project name can be changed if a full proposal is requested.")) class Meta: label = _('Application title') @@ -48,6 +50,10 @@ class ValueBlock(ApplicationSingleIncludeFieldBlock): class EmailBlock(ApplicationMustIncludeFieldBlock): name = 'email' description = 'The applicant email address' + field_label = blocks.CharBlock(label=_('Label'), default=_('What email address should we use to contact you?')) + help_text = blocks.TextBlock(required=False, label=_('Help text'), + default=_("We will use this email address to communicate with you about your proposal.")) + widget = forms.EmailInput field_class = forms.EmailField @@ -93,6 +99,9 @@ class AddressFieldBlock(ApplicationSingleIncludeFieldBlock): class FullNameBlock(ApplicationMustIncludeFieldBlock): name = 'full_name' description = 'Full name' + field_label = blocks.CharBlock(label=_('Label'), default=_('What is your name?')) + help_text = blocks.TextBlock(required=False, label=_('Help text'), + default=_("We will use this name when we communicate with you about your proposal.")) class Meta: icon = 'user'