<%= ctx.makeNumericInput({ text: 'Minimum', name: 'metric-min', value: ctx.metricMin, step: 'any', readonly: !ctx.canEditMetricBounds, }) %> <%= ctx.makeNumericInput({ text: 'Maximum', name: 'metric-max', value: ctx.metricMax, step: 'any', readonly: !ctx.canEditMetricBounds, }) %>
<% if (ctx.tag.metric && ctx.canDeleteMetric) { %>
<%= ctx.makeCheckbox({name: 'confirm-delete', text: 'I confirm that I want to delete this metric.'}) %>
<% } %>
<% if (!ctx.tag.metric && ctx.canCreateMetric) { %><% } else if (ctx.tag.metric && ctx.canEditMetricBounds) { %><% } %><% if (ctx.tag.metric && ctx.canDeleteMetric) { %><% } %>