liquid_feedback_frontend

changeset 1400:e8e4396fd73c

Changed style of register image upload 10
author bsw
date Mon Aug 13 19:37:22 2018 +0200 (2018-08-13)
parents 20c293c7b78e
children cd9ab9f36375
files app/main/registration/_register_form.lua
line diff
     1.1 --- a/app/main/registration/_register_form.lua	Mon Aug 13 19:36:00 2018 +0200
     1.2 +++ b/app/main/registration/_register_form.lua	Mon Aug 13 19:37:22 2018 +0200
     1.3 @@ -127,26 +127,9 @@
     1.4          }
     1.5        ]] }
     1.6        ui.tag{ tag = "input", attr = { id = "fileInput", style = "display: none;", type = "file", name = "verification_data_" .. field.name, onchange = "fileChoosen(this);" } }
     1.7 -      ui.tag{ tag = "label", attr = {
     1.8 -          class = "mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect",
     1.9 -          style = "display: inline;",
    1.10 -        },
    1.11 -        content = function()
    1.12 -          ui.tag{
    1.13 -            tag = "input",
    1.14 -            attr = {
    1.15 -              type = "checkbox",
    1.16 -              class = "mdl-checkbox__input",
    1.17 -              id = "fileCheckbox",
    1.18 -              style = "float: left;",
    1.19 -              onclick = "getFile();"
    1.20 -            }
    1.21 -          }
    1.22 -          ui.tag{
    1.23 -            attr = { id = "fileBtn", class = "mdl-checkbox__label", onclick = "getFile();"  },
    1.24 -            content = field.upload_label
    1.25 -          }
    1.26 -        end
    1.27 +      ui.tag{
    1.28 +        attr = { id = "fileBtn", class = "mdl-checkbox__label", onclick = "getFile();"  },
    1.29 +        content = field.upload_label
    1.30        }
    1.31        if field.optional_checkbox then
    1.32          slot.put("   ")

Impressum / About Us