Skip to content

Commit

Permalink
Merge pull request #532 from gbdlin/develop
Browse files Browse the repository at this point in the history
Fixed #531: validating actions on change form save
  • Loading branch information
darklow committed Aug 18, 2016
2 parents c88852a + cd3ddad commit 9e10585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion suit/templates/admin/change_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
<div id="content-main" class="inner-two-columns">

<form {% if has_file_field %}enctype="multipart/form-data" {% endif %}action="{{ form_url }}" method="post"
id="{% firstof opts.model_name opts.module_name %}_form" class="form-horizontal">
id="{% firstof opts.model_name opts.module_name %}_form" class="form-horizontal" novalidate>

<div class="inner-right-column">

Expand Down
2 changes: 1 addition & 1 deletion suit/templates/admin/change_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@

<form id="changelist-form" action="" method="post"
{% if cl.formset.is_multipart %}
enctype="multipart/form-data"{% endif %} class="form-inline">{% csrf_token %}
enctype="multipart/form-data"{% endif %} class="form-inline" novalidate>{% csrf_token %}
{% if cl.formset %}
<div>{{ cl.formset.management_form }}</div>
{% endif %}
Expand Down

0 comments on commit 9e10585

Please sign in to comment.