1 <%- self.active:render() %
>
2 <div class=
"cbi-page-actions">
3 <input type=
"hidden" name=
"cbi.delg.current" value=
"<%=self.current%>" />
4 <% for _, x in ipairs(self.chain) do %
>
5 <input type=
"hidden" name=
"cbi.delg.path" value=
"<%=x%>" />
7 <% if not self.disallow_pageactions then %
>
8 <% if self.allow_finish and not self:get_next(self.current) then %
>
9 <input class=
"cbi-button cbi-button-finish" type=
"submit" value=
"<%:Finish%>" />
10 <% elseif self:get_next(self.current) then %
>
11 <input class=
"cbi-button cbi-button-next" type=
"submit" value=
"<%:Next »%>" />
13 <% if self.allow_cancel then %
>
14 <input class=
"cbi-button cbi-button-cancel" type=
"submit" name=
"cbi.cancel" value=
"<%:Cancel%>" />
16 <% if self.allow_reset then %
>
17 <input class=
"cbi-button cbi-button-reset" type=
"reset" value=
"<%:Reset%>" />
19 <% if self.allow_back and self:get_prev(self.current) then %
>
20 <input class=
"cbi-button cbi-button-back" type=
"submit" name=
"cbi.delg.back" value=
"<%:« Back%>" />
23 <script type=
"text/javascript">cbi_d_update();
</script>