mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-19 00:27:25 +00:00
Extend save_bar directive to support more buttons
This commit is contained in:
@@ -3,6 +3,7 @@ angular.module("admin.utils").directive "saveBar", (StatusMessage) ->
|
||||
scope:
|
||||
save: "&"
|
||||
form: "="
|
||||
buttons: "="
|
||||
templateUrl: "admin/save_bar.html"
|
||||
link: (scope, element, attrs) ->
|
||||
scope.StatusMessage = StatusMessage
|
||||
|
||||
Reference in New Issue
Block a user