summaryrefslogtreecommitdiffstats
path: root/interfaces-delete-html.lsp
blob: 86bc2244c1ac863ebc4aef428fc7a9420dc495f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<? local form = ... ?>

<h1>Delete Interface <?= form.value.iface.value ?></h1>

<form action="<?= form.option.script .. "/" .. form.option.prefix ..
		form.option.controller .. "/" .. form.option.action ..
		form.option.extra ?>" method="POST">
<table>

<? 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>
</form>