lib/phlexi/form/builder.rb in phlexi-form-0.5.4 vs lib/phlexi/form/builder.rb in phlexi-form-0.5.5

- old
+ new

@@ -90,9 +90,13 @@ def search_tag(**, &) input_tag(type: :search, theme: :search, **, &) end + def hidden_input_tag(**, &) + input_tag(type: :hidden, theme: nil, **, &) + end + alias_method :hidden_tag, :hidden_input_tag # Creates a checkbox tag for the field. # # @param attributes [Hash] Additional attributes for the checkbox. # @return [Components::Checkbox] The checkbox component. def checkbox_tag(**, &)