liquid_feedback_frontend
changeset 1382:8f4ed517bc09
Format of special labels
author | bsw |
---|---|
date | Wed Aug 08 17:40:30 2018 +0200 (2018-08-08) |
parents | 574eaf2ff457 |
children | e43ff9fd6c05 |
files | app/main/registration/_register_form.lua |
line diff
1.1 --- a/app/main/registration/_register_form.lua Wed Aug 08 17:39:16 2018 +0200 1.2 +++ b/app/main/registration/_register_form.lua Wed Aug 08 17:40:30 2018 +0200 1.3 @@ -106,8 +106,8 @@ 1.4 slot.put("<br />") 1.5 1.6 elseif field.type == "image" then 1.7 - ui.tag{ tag = "label", content = field.label } 1.8 - slot.put(" ") 1.9 + ui.tag{ tag = "label", attr = { style = "vertical-align: bottom; border-bottom: 1px solid rgba(0,0,0, 0.12); color: #777; font-size: 16px;" }, content = field.label .. ":" } 1.10 + slot.put(" ") 1.11 ui.tag{ tag = "input", attr = { type = "file", name = "verification_data_" .. field.name } } 1.12 if field.optional_checkbox then 1.13 ui.tag{ tag = "label", attr = { 1.14 @@ -151,8 +151,9 @@ 1.15 for i_unit, unit in ipairs(units_selector:exec()) do 1.16 table.insert(units, unit) 1.17 end 1.18 + ui.tag{ tag = "label", attr = { style = "vertical-align: bottom; border-bottom: 1px solid rgba(0,0,0, 0.12); color: #777; font-size: 16px;" }, content = field.label .. ":" } 1.19 + slot.put(" ") 1.20 ui.field.select{ 1.21 - label = field.label, 1.22 foreign_records = units, 1.23 foreign_id = "id", 1.24 foreign_name = "name",