4 lines
328 B
Plaintext
4 lines
328 B
Plaintext
component InputText(id string, value string, label string, placeholder string, maxLength int)
|
|
.widget-section
|
|
label(for=id)= label + ":"
|
|
input.widget-ui-element.action(id=id, data-field=id, type="text", value=value, placeholder=placeholder, title=placeholder, data-action="save", data-trigger="change", maxlength=maxLength) |