Improved upload scripts

This commit is contained in:
2018-03-03 18:29:39 +01:00
parent 634fed8e87
commit 58b54fe908
5 changed files with 42 additions and 17 deletions

View File

@ -30,7 +30,7 @@ component InputSelection(id string, value string, label string, placeholder stri
each option in options
option(value=option.Value)= option.Label
component InputImage(id string, label string, src string)
component InputImage(id string, label string)
.widget-section
label(for=id)= label + ":"
button.action(data-action="selectFile", data-trigger="click", data-preview-image-id=id + "-preview")