Remove spurious quote

This commit is contained in:
Nicola Soranzo
2019-02-05 02:36:09 +00:00
parent c0dca7a44c
commit 87d4904189
@@ -15,7 +15,7 @@
<div>
<% selected = o[1] in listify(select.value) or o[2] %>
<input type="checkbox" name="${select.name}" value="${escape(o[1])}"
${"refresh_on_change='true'" if select.refresh_on_change else ""}"
${'refresh_on_change="true"' if select.refresh_on_change else ""}"
${"checked" if selected else ""} ${"disabled" if disabled else ""}>
${escape(o[0])}
</div>
@@ -23,7 +23,7 @@
%else:
<select id="${select.field_id}" name="${select.name}"
${"multiple" if select.multiple else ""}
${"refresh_on_change='true'" if select.refresh_on_change else ""}">
${'refresh_on_change="true"' if select.refresh_on_change else ""}>
%for o in select.options:
<% selected = o[1] in listify(select.value) or o[2] %>
<option value="${escape(o[1])}" ${"selected" if selected else ""}>${escape(o[0])}</option>