fix formatting in form.ejs

This commit is contained in:
Aljaz S
2021-11-23 18:11:41 +01:00
parent 21c77dea69
commit ca85be6f53

View File

@@ -69,7 +69,9 @@ div {
{ n: "purpose", d: "Purpose", p: "moutain bike first half", t: "text" },
{ n: "reference", d: "Reference", p: "SI121234567890120", t: "text" }
]
for (i of items) {
%>
<% for (const i of items) { %>
<%
const str = String(q[i.n])
const readonly = (str != "" && !str.includes("*") ? "readonly" : "")
const val = str.replace("*", "")