49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
<br>
|
|
<div class="row">
|
|
<% for (const input of additionalInputInputs){ %>
|
|
<div class="input-field col s3 m4 l5">
|
|
<textarea
|
|
id="<%= input.dbField %>"
|
|
form="publishForm"
|
|
name="<%= input.dbField %>"
|
|
cols="80" rows="15"
|
|
value="<%= additionalInputValues[input.dbField] !== undefined ? additionalInputValues[input.dbField] : ""%>"
|
|
></textarea>
|
|
<label for="<%= input.dbField %>"><%= input.title %></label>
|
|
</div>
|
|
<% } %>
|
|
</div>
|
|
|
|
<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) { %>
|
|
<% if (segmentObject.id!=="ANY") { %>
|
|
<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>
|
|
<% } %> |