From cd46e1611ea331fcb295cb61c43ff64b0ba8772f Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 11 Oct 2011 01:20:36 +0000 Subject: [PATCH] libs/web: handle .redirect property for SimpleForm widgets --- libs/web/luasrc/view/cbi/simpleform.htm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 %> -- 2.25.1