<% 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,
}) %>
<% } %>
<% if (['video'].includes(ctx.uploadable.type)) { %>
<%= ctx.makeCheckbox({
text: 'Loop video',
name: 'loop-video',
checked: true,
}) %>
<% } %>