<% if (hasReduce) { %>
<% } else{ %>
<% } %>
<% if (showPreview) { %> <% } %>