<div class="form-group py-2">
  <label data-type="number" for="<%= name %>"><%= label %></label>
  <input type="number"
    class="form-control" name="<%= name %>" id="<%= name %>" aria-describedby="<%= name %>-help" placeholder="<%= placeholder %>"
    min="<%= min %>" max="<%= max %>" step="<%= step %>" value="<%= value %>">
  <% if (typeof help != 'undefined') { %>
    <small id="number-help" class="form-text text-muted"><%= help %></small>
  <% } %>
</div>
