summaryrefslogtreecommitdiffstats
path: root/interfaces-delete-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces-delete-html.lsp')
-rw-r--r--interfaces-delete-html.lsp5
1 files changed, 5 insertions, 0 deletions
diff --git a/interfaces-delete-html.lsp b/interfaces-delete-html.lsp
index cb11de4..86bc224 100644
--- a/interfaces-delete-html.lsp
+++ b/interfaces-delete-html.lsp
@@ -1,4 +1,5 @@
<? local form = ... ?>
+
<h1>Delete Interface <?= form.value.iface.value ?></h1>
<form action="<?= form.option.script .. "/" .. form.option.prefix ..
@@ -9,6 +10,10 @@
<? local myform = form.value ?>
<p>Are you you sure you want to delete <?= myform.iface.value ?></p>
<center>
+<?
+-- We need to put in a form that holds the interfaces name (it should be hidden).
+io.write(html.form[myform.iface.type](myform.iface))
+?>
<?= html.form[myform.action1.type](myform.action1) ?>
<?= html.form[myform.action2.type](myform.action2) ?>
</center>