Skip to content

Commit

Permalink
added novalidate property to forms to skip browser level validation o…
Browse files Browse the repository at this point in the history
…f forms
  • Loading branch information
mmarcos committed Feb 26, 2018
1 parent d8ad00a commit 63865f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arctic/templates/arctic/base_create_update.html
Expand Up @@ -16,7 +16,7 @@
</div>
</div>
</div>
<form action="" method="POST" enctype="multipart/form-data" class="dirty-check {{ form_display }}">
<form action="" method="POST" enctype="multipart/form-data" class="dirty-check {{ form_display }}" novalidate>
<fieldset type="post" class="fieldset-default arctic-card">
<div class="{% block form_size_class %}form-size{% endblock %}">
{% csrf_token %}
Expand Down
2 changes: 1 addition & 1 deletion arctic/templates/arctic/login.html
Expand Up @@ -18,7 +18,7 @@
<div class="outer"><div class="middle"><div class="inner">
<img class="page-login__logo" src="{% static SITE_LOGO %}"/>
<h1 class="page-login__title">{{ SITE_NAME }}</h1>
<form action=".?next={{ next }}" method="post" class="{{ form_display }}">
<form action=".?next={{ next }}" method="post" class="{{ form_display }}" novalidate>
<fieldset type="get">
{% csrf_token %}
{% if messages %}
Expand Down

0 comments on commit 63865f9

Please sign in to comment.