x
1
2
3
<form action="/models" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="N9aPBOjX7OmzuS5Qu-DyicMK0vobQ83yZhsZ26MzP2qDDhDe_0_Z4azNRtJKlCz-xeqGJ9jqxNiirJ3O07QwLw" autocomplete="off" />
<input type="range" name="model[attribute]" id="model_attribute" />
</form>
1
2
3
<%= form_with model: model do |form| %>
<%= form.range_field :attribute %>
<% end %>