12 lines
368 B
HTML
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)
|
|
%>>
|