Skip to content

Commit

Permalink
Add id as an additional parameter to wtf.render_form to remove wrappi…
Browse files Browse the repository at this point in the history
…ng around form tags
  • Loading branch information
Prasham Marfatia committed Sep 27, 2024
1 parent bdef3a2 commit 7355897
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/indra_cogex/apps/templates/base_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ <h1 class="display-4">{% block header %}{% endblock %}</h1>
<p class="lead">
{% block lead %}{% endblock %}
</p>
<form id="main-form" method="POST">
{{ wtf.render_form(form) }}
</form>
{{ wtf.render_form(form, method="POST", id="main-form") }}
</div>
{% endblock %}
{% block scripts %}
Expand Down

0 comments on commit 7355897

Please sign in to comment.