gluon/package/gluon-web-model/files/lib/gluon/web/view/model/fvalue.html
2020-07-02 23:43:23 +02:00

6 lines
193 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>