x
1
2
3
4
<form class="new_person" id="new_person" action="#" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="kRGwh7vODlGNg4Qrpu8ORAqJiGiGiQfoqmgO3dZJw5T1zTNuX55FVExa5LJgJGIg7l_xW3-I4Vtulq0qTKOQhw" autocomplete="off" />
<label class="rpf-input-checkbox"><input type="hidden" value="0" name="person[likes_cheese]"><input id="person_likes_cheese" name="person[likes_cheese]" type="checkbox" value="1">
Do you <strong>really</strong> like cheese?
</label></form>
1
2
3
4
5
<%= form_for model, url: '#', builder: DesignSystem::FormBuilder do |f| %>
<%= f.rpf_checkbox_input :likes_cheese, modifiers:, **attrs do %>
Do you <strong>really</strong> like cheese?
<% end %>
<% end %>
Param Description Input