From e2f3b8923d2771245082a93d170699828c8d7107 Mon Sep 17 00:00:00 2001 From: Manuel Munz Date: Mon, 26 Nov 2012 13:11:41 +0000 Subject: libs/web: Allow to disable buttons in cbi models from the controller --- libs/web/luasrc/view/cbi/footer.htm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libs/web/luasrc/view/cbi/footer.htm b/libs/web/luasrc/view/cbi/footer.htm index ef6776114..2c34028e5 100644 --- a/libs/web/luasrc/view/cbi/footer.htm +++ b/libs/web/luasrc/view/cbi/footer.htm @@ -9,11 +9,15 @@ <% if flow.skip then %> <% end %> - <% if not autoapply then %> + <% if not autoapply and not flow.hideapplybtn then %> <% end %> - - + <% if not flow.hidesavebtn then %> + + <% end %> + <% if not flow.hideresetbtn then %> + + <% end %> -- cgit v1.2.3