applications: add freifunk widgets app to customize the index page
[project/luci.git] / applications / luci-freifunk-widgets / luasrc / model / cbi / freifunk / widgets / iframe.lua
1 local map, section = ...
2 local utl = require "luci.util"
3
4 local form, ferr = loadfile(utl.libpath() .. "/model/cbi/freifunk/widgets/heightwidth.lua")
5 if form then
6 setfenv(form, getfenv(1))(m, wdg)
7 end
8
9 local url = wdg:option(Value, "url", translate("URL"))
10 url.default = "http://www.freifunk.net"