Sha256: c0c15be78baec35313159643e06fb43aec189239a80544472f1373ee38e73564
Contents?: true
Size: 649 Bytes
Versions: 16
Compression:
Stored size: 649 Bytes
Contents
<% # headmin/forms/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 "headmin/forms/hidden", form: form, attribute: :id %#> # <% end %#> hidden = Headmin::Form::HiddenView.new(local_assigns) %> <%= form.hidden_field(attribute, hidden.input_options) %>
Version data entries
16 entries across 16 versions & 1 rubygems