Merge pull request #521 from LuttyYang/master
[oweals/luci.git] / modules / luci-mod-admin-full / luasrc / view / admin_system / upgrade.htm
index b9d42357bbc83acf9c18759d88d2ccd76dca273f..5ca0398e13a0f3b94e078a94d1712332ba2d1a9c 100644 (file)
@@ -6,7 +6,7 @@
 
 <%+header%>
 
-<h2><a id="content" name="content"><%:Flash Firmware%> - <%:Verify%></a></h2>
+<h2 name="content"><%:Flash Firmware%> - <%:Verify%></h2>
 <p>
        <%_ The flash image was uploaded.
                Below is the checksum and file size listed,
 </fieldset>
 
 <div class="cbi-page-actions right">
-       <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
-               <input class="cbi-button cbi-button-reset" type="submit" value="<%:Cancel%>" />
-       </form>
-       <form style="display:inline" action="<%=REQUEST_URI%>" method="post">
+       <form class="inline" action="<%=REQUEST_URI%>" method="post">
+               <input type="hidden" name="token" value="<%=token%>" />
                <input type="hidden" name="step" value="2" />
                <input type="hidden" name="keep" value="<%=keep and "1" or ""%>" />
+               <input class="cbi-button cbi-button-reset" name="cancel" type="submit" value="<%:Cancel%>" />
                <input class="cbi-button cbi-button-apply" type="submit" value="<%:Proceed%>" />
        </form>
 </div>