Sha256: fb8041c6061d06f1d7e0ea5706dfb29451a4e20816eff09f5cb76e4e75d680b5
Contents?: true
Size: 637 Bytes
Versions: 16
Compression:
Stored size: 637 Bytes
Contents
<% # formstrap/hidden # # ==== Required parameters # * +attribute+ - Name of the attribute of the form model # * +form+ - Form object # # ==== References # https://headmin.dev/docs/forms/hidden # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/hidden # https://apidock.com/rails/ActionView/Helpers/FormHelper/hidden_field # # ==== Examples # Basic version # <%= form_with do |form| %#> # <%= render "formstrap/hidden", form: form, attribute: :id %#> # <% end %#> hidden = Formstrap::HiddenView.new(local_assigns) %> <%= form.hidden_field(attribute, hidden.input_options) %>
Version data entries
16 entries across 16 versions & 1 rubygems