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

12 lines
368 B
HTML

<input data-update="change"<%=
attr("id", id) ..
attr("name", id) ..
attr("type", self.password and "password" or "text") ..
attr("value", self:cfgvalue()) ..
attr("size", self.size) ..
attr("placeholder", self.placeholder) ..
attr("maxlength", self.maxlength) ..
attr("data-type", self.datatype) ..
attr("data-optional", self.datatype and self.optional)
%>>