(form)
return {
        'defaultHelpTextTemplateId': default_help_text_template_id,
        'formIconClass': form_icon_class,
    }
Part of the vellum core context.

    Returns the appropriate icon context for the form type and the
    knockout template ID context for the correct help text
    information when opening a blank form with this type.
Part of the vellum core context.
Part of the vellum core context .
def _get_core_context_help_text_context(form):
    """
    Part of the vellum core context.

    Returns the appropriate icon context for the form type and the
    knockout template ID context for the correct help text
    information when opening a blank form with this type.
    """
    if form.get_action_type() == 'open':
        default_help_text_template_id = '#fd-hq-helptext-registration'
        form_icon_class = 'fcc fcc-app-createform'
    elif form.get_action_type() == 'close':
        default_help_text_template_id = '#fd-hq-helptext-close'
        form_icon_class = 'fcc fcc-app-completeform'
    elif form.get_action_type() == 'update':
        default_help_text_template_id = '#fd-hq-helptext-followup'
        form_icon_class = 'fcc fcc-app-updateform'
    else:
        default_help_text_template_id = '#fd-hq-helptext-survey'
        form_icon_class = 'fa fa-file-o'
    return {
        'defaultHelpTextTemplateId': default_help_text_template_id,
        'formIconClass': form_icon_class,
    }
def _get_core_context_help_text_context ( form ) : if form . get_action_type ( ) == 'open' : default_help_text_template_id = '#fd-hq-helptext-registration' form_icon_class = 'fcc fcc-app-createform' elif form . get_action_type ( ) == 'close' : default_help_text_template_id = '#fd-hq-helptext-close' form_icon_class = 'fcc fcc-app-completeform' elif form . get_action_type ( ) == 'update' : default_help_text_template_id = '#fd-hq-helptext-followup' form_icon_class = 'fcc fcc-app-updateform' else : default_help_text_template_id = '#fd-hq-helptext-survey' form_icon_class = 'fa fa-file-o' return { 'defaultHelpTextTemplateId' : default_help_text_template_id , 'formIconClass' : form_icon_class , }