Skip to content

Commit

Permalink
Fix form validation in default templates
Browse files Browse the repository at this point in the history
  • Loading branch information
pfouque committed Feb 14, 2024
1 parent a60dbd9 commit 18b2eaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions formtools/templates/formtools/wizard/wizard_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
{% endif %}

{% if wizard.steps.prev %}
<button name="wizard_goto_step" type="submit" value="{{ wizard.steps.first }}">{% translate "first step" %}</button>
<button name="wizard_goto_step" type="submit" value="{{ wizard.steps.prev }}">{% translate "prev step" %}</button>
<button name="wizard_goto_step" type="submit" formnovalidate value="{{ wizard.steps.first }}">{% translate "first step" %}</button>
<button name="wizard_goto_step" type="submit" formnovalidate value="{{ wizard.steps.prev }}">{% translate "prev step" %}</button>
{% endif %}
<input type="submit" name="submit" value="{% translate "submit" %}" />
</form>

0 comments on commit 18b2eaa

Please sign in to comment.