From: Jo-Philipp Wich Date: Tue, 11 Oct 2011 01:20:36 +0000 (+0000) Subject: libs/web: handle .redirect property for SimpleForm widgets X-Git-Tag: 0.11.0~1575 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=cd46e1611ea331fcb295cb61c43ff64b0ba8772f;p=oweals%2Fluci.git libs/web: handle .redirect property for SimpleForm widgets --- diff --git a/libs/web/luasrc/view/cbi/simpleform.htm b/libs/web/luasrc/view/cbi/simpleform.htm index 36537ec08..1a4726a02 100644 --- a/libs/web/luasrc/view/cbi/simpleform.htm +++ b/libs/web/luasrc/view/cbi/simpleform.htm @@ -16,7 +16,7 @@ <%- end %> <%- if self.errmessage then %>
<%=self.errmessage%>
-<%- end %> +<%- end %> <% if not self.embedded then %>
<%- @@ -28,6 +28,11 @@ end end %> +<% if redirect then %> +
+ +
+<% end %> <%- if self.flow and self.flow.skip then %> <% end %>