mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-14 04:04:23 +00:00
Add comment to make sure both out of stock modal get updated.
There is no easy way to share template between AngularJS and Rails. The modal in `edit.html.haml` is a copy of app/assets/javascripts/templates/out_of_stock.html.haml, so we need to update both if either of them is updated.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// please update the modal html in app/view/checkout/edit.html.haml if updating this template
|
||||
%a.close-reveal-modal{"ng-click" => "$close()"}
|
||||
%i.ofn-i_009-close
|
||||
|
||||
|
||||
Reference in New Issue
Block a user