method

month_field

Importance_1
v7.0.0 - Show latest stable - 0 notes - Class: ActionView::Helpers::FormBuilder
month_field public

Wraps ActionView::Helpers::FormHelper#month_field for form builders:

<%= form_with model: @user do |f| %>
  <%= f.month_field :birthday_month %>
<% end %>

Please refer to the documentation of the base helper for details.

Show source
Register or log in to add new notes.