[PATCH] Naive fix for bug #208
[project/luci.git] / libs / web / luasrc / view / cbi / simpleform.htm
index 1a4726a..f7c9f33 100644 (file)
@@ -1,5 +1,5 @@
 <% if not self.embedded then %>
-<form method="post" action="<%=REQUEST_URI%>">
+<form method="post" enctype="multipart/form-data" action="<%=REQUEST_URI%>">
        <div>
                <script type="text/javascript" src="<%=resource%>/cbi.js"></script>
                <input type="hidden" name="cbi.submit" value="1" />