'Return a description of the password reset form.
This decouples clients from the API definition:
if the API decides to modify the form, clients won\'t need
to be updated.
See `user_api.helpers.FormDescription` for examples
of the JSON-encoded form description.
Returns:
HttpResponse'

@method_decorator(ensure_csrf_cookie)
def get(self, request):

    form_desc = FormDescription('post', reverse('password_change_request'))
    email_label = _(u'Email')
    email_placeholder = _(u'username@domain.com')
    email_instructions = _(u'The    email    address    you    used    to    register    with    {platform_name}').format(platform_name=configuration_helpers.get_value('PLATFORM_NAME', settings.PLATFORM_NAME))
    form_desc.add_field('email', field_type='email', label=email_label, placeholder=email_placeholder, instructions=email_instructions, restrictions={'min_length': accounts.EMAIL_MIN_LENGTH, 'max_length': accounts.EMAIL_MAX_LENGTH})
    return HttpResponse(form_desc.to_json(), content_type='application/json')
