31 lines
951 B
Plaintext
31 lines
951 B
Plaintext
<br>
|
|
|
|
<% for (const input of additionalBooleanPublishInputs){ %>
|
|
<p>
|
|
<label class="checkbox-label">
|
|
<input type="checkbox" class="filled-in" name="<%= input.dbField %>"
|
|
<% if (additionalBooleanPublishValues[input.dbField]) { %>
|
|
checked
|
|
<% } %>>
|
|
<span><%= input.title %></span>
|
|
</label>
|
|
</p>
|
|
<% } %>
|
|
|
|
<br>
|
|
<% for (const input of additionalSegmentSelectInputs){ %>
|
|
<div>
|
|
<label class="checkbox-label"><%= input.title %>: </label><br><br>
|
|
<span class="segmented small">
|
|
<% for (const segmentObject of input.values) { %>
|
|
<label>
|
|
<input type="radio" name="<%= input.dbField %>" value="<%= segmentObject.id %>"
|
|
<% if (additionalSegmentSelectValues[input.dbField] === segmentObject.id) { %>
|
|
checked
|
|
<% } %>>
|
|
<span class="label"><%= segmentObject.title %></span>
|
|
</label>
|
|
<% } %>
|
|
</span>
|
|
</div>
|
|
<% } %> |