From: Manuel Munz Date: Mon, 26 Nov 2012 13:11:41 +0000 (+0000) Subject: libs/web: Allow to disable buttons in cbi models from the controller X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e2f3b8923d2771245082a93d170699828c8d7107;p=oweals%2Fluci.git libs/web: Allow to disable buttons in cbi models from the controller --- 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 %>