Skip to content

Commit

Permalink
Removed empty action from a form example. (carltongibson#1066)
Browse files Browse the repository at this point in the history
https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-action

>The action and formaction content attributes, if specified, must have a value that is a valid non-empty URL potentially surrounded by spaces.
  • Loading branch information
carltongibson authored Mar 4, 2020
1 parent d0a1522 commit e072c5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/usage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ And lastly we need a template::
{% extends "base.html" %}

{% block content %}
<form action="" method="get">
<form method="get">
{{ filter.form.as_p }}
<input type="submit" />
</form>
Expand Down

0 comments on commit e072c5c

Please sign in to comment.