diff options
author | Steven Barth <steven@midlink.org> | 2008-08-13 23:19:48 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-13 23:19:48 +0000 |
commit | 027effe9c839aeaa066eb11df33a5c8c4441f79f (patch) | |
tree | a91a5ba1a2763fde7cb9a497d4bf2aea41b21b0c /modules | |
parent | 662f70a467a3bc62bbe3d38c732d4b5a85165a8d (diff) |
modules/admin-full: Optimized mount-point configuration page
Diffstat (limited to 'modules')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua b/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua index be2562ca0f..6d1f057c97 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua @@ -16,6 +16,7 @@ m = Map("fstab", translate("a_s_fstab")) mount = m:section(TypedSection, "mount", translate("a_s_fstab_mountpoints"), translate("a_s_fstab_mountpoints1")) mount.anonymous = true mount.addremove = true +mount.template = "cbi/tblsection" mount:option(Flag, "enabled", translate("enable")) mount:option(Value, "device", translate("device"), translate("a_s_fstab_device1")) @@ -27,6 +28,7 @@ mount:option(Value, "options", translate("options"), translatef("manpage", "sieh swap = m:section(TypedSection, "swap", "SWAP", translate("a_s_fstab_swap1")) swap.anonymous = true swap.addremove = true +swap.template = "cbi/tblsection" swap:option(Flag, "enabled", translate("enable")) swap:option(Value, "device", translate("device"), translate("a_s_fstab_device1")) |