Skip to content
On this page


There are scenarios where in order to be able to submit a form, an input should be present but inaccessible to the user. Hidden will render a <input type="hidden" /> element on the page.

It's rendered only on the Edit and New views.

field :group_id, as: :hidden