libs/web: handle .redirect property for SimpleForm widgets
This commit is contained in:
parent
e134834014
commit
cd46e1611e
1 changed files with 6 additions and 1 deletions
|
@ -28,6 +28,11 @@
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
%>
|
%>
|
||||||
|
<% if redirect then %>
|
||||||
|
<div style="float:left">
|
||||||
|
<input class="cbi-button cbi-button-link" type="button" value="<%:Back to Overview%>" onclick="location.href='<%=pcdata(redirect)%>'" />
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
<%- if self.flow and self.flow.skip then %>
|
<%- if self.flow and self.flow.skip then %>
|
||||||
<input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:Skip%>" />
|
<input class="cbi-button cbi-button-skip" type="submit" name="cbi.skip" value="<%:Skip%>" />
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue