Don't highlight update button when form is invalid

This commit is contained in:
Matt-Yorkley
2020-05-15 11:34:04 +02:00
parent 3ba1182661
commit c2efa901c2

View File

@@ -1,7 +1,7 @@
%tr
%td{colspan:"2"}
%td
%button#update-button.secondary.radius.expand.small{"ng-class" => "{ alert: form.$dirty }"}
%button#update-button.secondary.radius.expand.small{"ng-class" => "{ alert: form.$dirty && form.$valid }"}
%i.ofn-i_023-refresh
= t(:update)
%td