Yorisoi

<%= form_for @sample, url: create_path, method: :post, builder: Yorisoi::Builder do |f| %>
<%= f.text_field :text, class: [:p100] %>
<%= f.password_field :password, class: [:p100] %>
<%= f.text_area :textarea, class: [:p100] %>
<%= f.select :select, Const::SELECT, {prompt: :select}, {class: [:p100]} %>
<%= f.radio_buttons :radio, {class: [:bigger]}, Const::RADIO.zip(Const::RADIO) %>
<%= f.check_boxes :checkbox, {class: [:bigger]}, Const::CHECKBOX.zip(Const::CHECKBOX) %>
<% end %>

Default

<%= form_for @sample, url: create_path, method: :post do |f| %>
<%= f.text_field :text, class: [:p100] %>
<%= f.password_field :password, class: [:p100] %>
<%= f.text_area :textarea, class: [:p100] %>
<%= f.select :select, Const::SELECT, {prompt: :select}, {class: [:p100]} %>
<%#= f.radio_buttons :radio, {class: [:bigger]}, Const::RADIO.zip(Const::RADIO) %> <%= f.collection_radio_buttons :radio, Const::RADIO.zip(Const::RADIO), :last, :first, {}, class: [:bigger] do |b| %> <% b.label { b.radio_button + b.text } %> <% end %>
<%= f.collection_check_boxes :checkbox, Const::CHECKBOX.zip(Const::CHECKBOX), :last, :first, {}, class: [:bigger] do |b| %> <% b.label { b.check_box + b.text } %> <% end %>
<% end %>