<%= form.label :value, active_field.name %> <%= form.number_field :value, { value: active_value.value, min: active_field.min, max: active_field.max } %>