liquid_feedback_frontend

view env/ui/section.lua @ 1691:0313770d09ad

Fixed behaviour of optional multiselect field
author bsw
date Wed Sep 22 18:21:17 2021 +0200 (2021-09-22)
parents 701a5cf6b067
children
line source
1 function ui.section ( arg1, arg2 )
3 local class = "section"
4 local content
6 if arg2 then
7 class = class .. " " .. arg1
8 content = arg2
9 else
10 content = arg1
11 end
13 ui.container { attr = { class = class }, content = content }
15 end

Impressum / About Us