mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-27 06:05:19 +00:00
Don't highlight update button when form is invalid
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user