<% require("viewfunctions") local form, viewlibrary = ... %> <% --[[ DEBUG INFORMATION io.write("

DEBUGGING

DEBUG INFO: CFE

") io.write(html.cfe_unpack(form)) io.write("
") --]] %> <% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("status") end %>

Modify Categories

Category list

<% local myform = form["service"]["config"]["categories"] for k,v in ipairs( myform ) do io.write("
"..v.name.."
\n") io.write("
") if (v.option) then for k1,v1 in pairs(v.option) do io.write("" ) -- for k2,v2 in pairs(v1) do --io.write(html.form(v1.type(v1))) -- io.write("") -- end io.write("\n") end io.write("\n" ) end io.write("
".. v1.name .. "[ Edit ]") -- io.write("[ " ..html.link(v2) .. " ] ") -- io.write(tostring(v2)) -- io.write("
") --io.write( "
" .. v .. "\n" ) end %>
<% if viewlibrary and viewlibrary.dispatch_component then viewlibrary.dispatch_component("startstop") end %>