mirror of
https://gitplac.si/aljaxus/upn-qr.git
synced 2025-12-17 04:00:59 +00:00
fix formatting in form.ejs
This commit is contained in:
@@ -69,7 +69,9 @@ div {
|
|||||||
{ n: "purpose", d: "Purpose", p: "moutain bike first half", t: "text" },
|
{ n: "purpose", d: "Purpose", p: "moutain bike first half", t: "text" },
|
||||||
{ n: "reference", d: "Reference", p: "SI121234567890120", 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 str = String(q[i.n])
|
||||||
const readonly = (str != "" && !str.includes("*") ? "readonly" : "")
|
const readonly = (str != "" && !str.includes("*") ? "readonly" : "")
|
||||||
const val = str.replace("*", "")
|
const val = str.replace("*", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user