'Add a name field to a form description.
Arguments:
form_desc: A form description
Keyword Arguments:
required (bool): Whether this field is required; defaults to True'

def _add_name_field(self, form_desc, required=True):

    name_label = _(u'Full    Name')
    name_placeholder = _(u'Jane    Q.    Learner')
    name_instructions = _(u'This    name    will    be    used    on    any    certificates    that    you    earn.')
    form_desc.add_field('name', label=name_label, placeholder=name_placeholder, instructions=name_instructions, restrictions={'max_length': accounts.NAME_MAX_LENGTH}, required=required)
