Fix some fallout
authorSteven Barth <steven@midlink.org>
Thu, 9 Apr 2009 13:59:50 +0000 (13:59 +0000)
committerSteven Barth <steven@midlink.org>
Thu, 9 Apr 2009 13:59:50 +0000 (13:59 +0000)
libs/cbi/luasrc/view/cbi/simpleform.htm

index 9a23e53..859acd3 100644 (file)
@@ -33,7 +33,7 @@ $Id$
 <%- end %>     
 <% if not self.embedded then %>
        <div>
-<%- if 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 Skip%>" />
 <% end %>
 <%- if self.submit ~= false then %>