<% if (ctx.enableSafety) { %>
<% for (let safety of ['safe', 'sketchy', 'unsafe']) { %>
<%= ctx.makeRadio({
name: 'safety-' + ctx.uploadable.key,
value: safety,
text: safety[0].toUpperCase() + safety.substr(1),
selectedValue: ctx.uploadable.safety,
}) %>
<% } %>
<% } %>
<% if (ctx.canUploadAnonymously) { %>
<%= ctx.makeCheckbox({
text: 'Upload anonymously',
name: 'anonymous',
checked: ctx.uploadable.anonymous,
readonly: ctx.uploadable.forceAnonymous,
}) %>
<% } %>
<% if (ctx.uploadable.lookalikes.length) { %>
<% for (let lookalike of ctx.uploadable.lookalikes) { %>
-
<%= ctx.makeThumbnail(lookalike.post.thumbnailUrl) %>
Similar post: <%= ctx.makePostLink(lookalike.post.id, true) %>
<%- Math.round((1-lookalike.distance) * 100) %>% match
<%= ctx.makeCheckbox({text: 'Copy tags', name: 'copy-tags'}) %>
<%= ctx.makeCheckbox({text: 'Add relation', name: 'add-relation'}) %>
<% } %>
<% } %>