cbi_tab.lua 368 B

1234
  1. m = Map("cbi_file", translate("First Tab Form"), translate("Please fill out the form below")) -- cbi_file is the config file in /etc/config
  2. d = m:section(TypedSection, "info", "Part A of the form") -- info is the section called info in cbi_file
  3. a = d:option(Value, "name", "Name"); a.optional=false; a.rmempty = false; -- name is the option in the cbi_file
  4. return m