Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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