gluon/package/gluon-web-model/files/lib/gluon/web/view/model/fvalue.html
2022-02-22 18:48:09 +01:00

6 lines
191 B
HTML

<input data-update="click change" type="checkbox" value="1"<%=
attr("id", id) .. attr("name", id) ..
attr("checked", self:cfgvalue() and "checked")
%>>
<label<%= attr("for", id)%>></label>