blob: d96ac56b1aea1fb188987224bb8d08b27307ff91 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<? local form= ... ?>
<? --[[
io.write(html.cfe_unpack(form))
io.write(html.cfe_unpack(FORM))
--]] ?>
<? ---[[ ?>
<H1><?= form.label ?></H1>
<?
require("viewfunctions")
form.action = ""
form.submit = "Save"
-- If editing existing role, disable role
if nil == string.find(ENV.PATH_INFO, "/newrole") then
form.value.role.contenteditable = false
end
local order = { "role", "permissions" }
displayform(form, order)
?>
<? --]] ?>
|