Show “confirmation of clear-on-next-restart” option.
[Sone.git] / src / main / java / net / pterodactylus / sone / web / OptionsPage.java
index 71de2d3..5a9e165 100644 (file)
@@ -33,7 +33,9 @@ public class OptionsPage extends SoneTemplatePage {
         * Creates a new options page.
         *
         * @param template
+        *            The template to render
         * @param webInterface
+        *            The Sone web interface
         */
        public OptionsPage(Template template, WebInterface webInterface) {
                super("options.html", template, "Page.Options.Title", webInterface);
@@ -56,6 +58,7 @@ public class OptionsPage extends SoneTemplatePage {
                }
                template.set("insertion-delay", options.getIntegerOption("InsertionDelay").get());
                template.set("clear-on-next-restart", options.getBooleanOption("ClearOnNextRestart").get());
+               template.set("really-clear-on-next-restart", options.getBooleanOption("ReallyClearOnNextRestart").get());
        }
 
        //