nedge localization and parameters

This commit is contained in:
emanuele-f 2018-01-16 14:14:30 +01:00
parent c4e7b205d7
commit b787a0166e
3 changed files with 10 additions and 3 deletions

View file

@ -268,16 +268,17 @@ function prefsInputFieldPrefs(label, comment, prekey, key, default_value, _input
style["width"] = "15em"
end
style["margin-left"] = "auto"
style["display"] = "inline"
style = table.merge(style, extra.style)
attributes = table.merge(attributes, extra.attributes)
print[[
</td>
<td style="vertical-align:top; padding-left: 2em;">
<td style="vertical-align:top; padding-left: 2em; white-space: nowrap;">
<input id="id_input_]] print(key) print[[" type="]] print(input_type) print [[" class="form-control" ]] print(table.tconcat(attributes, "=", " ", nil, '"')) print[[ name="]] print(key) print [[" style="]] print(table.tconcat(style, ":", "; ", ";")) print[[" value="]] print(value..'"')
if disableAutocomplete then print(" autocomplete=\"off\"") end
print [[/>
print [[/>]] print(extra.append or "") print[[
</td>
</tr>
<tr>