Minor changes

This commit is contained in:
Eduard Urbach 2017-06-24 19:52:10 +02:00
parent ee9930cea3
commit 932ed7c165

View File

@ -11,4 +11,9 @@ component InputTextArea(id string, value string, label string, placeholder strin
component InputNumber(id string, value int, label string, placeholder string, min string, max string) component InputNumber(id string, value int, label string, placeholder string, min string, max string)
.widget-input .widget-input
label(for=id)= label + ":" label(for=id)= label + ":"
input.widget-element.action(id=id, type="number", value=value, min=min, max=max, placeholder=placeholder, title=placeholder, data-action="save", data-trigger="change") input.widget-element.action(id=id, type="number", value=value, min=min, max=max, placeholder=placeholder, title=placeholder, data-action="save", data-trigger="change")
component InputSelection(id string, value string, label string, placeholder string)
.widget-input
label(for=id)= label + ":"
select.widget-element.action(id=id, value=value, title=placeholder, data-action="save", data-trigger="change")