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,11 +69,13 @@ div {
|
||||
{ n: "purpose", d: "Purpose", p: "moutain bike first half", t: "text" },
|
||||
{ n: "reference", d: "Reference", p: "SI121234567890120", t: "text" }
|
||||
]
|
||||
for (i of items) {
|
||||
const str = String(q[i.n])
|
||||
const readonly = (str != "" && !str.includes("*") ? "readonly" : "")
|
||||
const val = str.replace("*", "")
|
||||
%>
|
||||
<% for (const i of items) { %>
|
||||
<%
|
||||
const str = String(q[i.n])
|
||||
const readonly = (str != "" && !str.includes("*") ? "readonly" : "")
|
||||
const val = str.replace("*", "")
|
||||
%>
|
||||
<div>
|
||||
<label for="<%= i.n %>"><%= i.d %></label>
|
||||
<input value="<%= val %>" <%= readonly %> type="<%= i.t %>" placeholder="<%= i.p %>" name="<%= i.n %>">
|
||||
|
||||
Reference in New Issue
Block a user