<div class="form-group py-2">
  <label data-type="range" for="<%= name %>"><%= label %></label>
  <input type="range" class="form-control-range" id="<%= name %>"
  min="<%= min %>" max="<%= max %>" step="<%= step %>">
</div>
