def METHOD_NAME(self, name, value, attrs=None, renderer=None):
    disabled = 'disabled' if attrs.get('disabled') else ''
    return '<input type="submit" name="{name}" value="{value}" class="button button--primary button--bottom-space" {disabled}>'.format(
        disabled=disabled,
        name=escape(name),
        value=escape(name.title()),
    )