Skip to content

Commit

Permalink
the negation of invalid is required
Browse files Browse the repository at this point in the history
  • Loading branch information
fredkingham committed Apr 19, 2017
1 parent f996509 commit 22e1d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathway/templates/pathway/templates/pathway_base.html
Expand Up @@ -16,7 +16,7 @@ <h2>
{% block pathway_body %}
{% endblock pathway_body %}
</div>
<div class="text-center" ng-show="form.$submitted && form.$invalid">
<div class="text-center" ng-show="form.$submitted && !form.$valid">
<strong class="help-block">Please fix the above errors</strong>
</div>
{% block pathway_footer %}
Expand Down

0 comments on commit 22e1d43

Please sign in to comment.