Skip to content

Using form.as_p in templates results in invalid HTML. #4

@UDAR-TomH

Description

@UDAR-TomH

Hello, when using this package and rendering forms in templates using Django's form.as_p() method, it will output the Turnstile field as a DIV nested inside of a P tag, which is technically invalid HTML and can cause layout issues. Also, it renders a form label for the field, which is unnecessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions