module UiBibz::Helpers::Ui::Core::FormsHelper
Public Instance Methods
Auto Complete Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 137 def ui_auto_complete_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Texts::AutoCompleteField.new(content, options, html_options, &block).render end
Box Switch Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 89 def ui_box_switch_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Choices::BoxSwitchField.new(content, options, html_options, &block).render end
Checkbox Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 105 def ui_checkbox_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Choices::CheckboxField.new(content, options, html_options, &block).render end
Choice group Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 16 def ui_choice_group(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Choices::ChoiceGroup.new(content, options, html_options).tap(&block).render end
Date Picker Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 40 def ui_date_picker_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Dates::DatePickerField.new(content, options, html_options, &block).render end
Dropdown Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 154 def ui_dropdown(name, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Dropdowns::Dropdown.new(name, options, html_options).tap(&block).render end
Dropdown Select Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 129 def ui_dropdown_select_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Selects::DropdownSelectField.new(content, options, html_options, &block).render end
File Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 208 def ui_file_field(name, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Files::FileField.new(name, options, html_options, &block).render end
Formula Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 73 def ui_formula_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Numbers::FormulaField.new(content, options, html_options, &block).render end
Markdown Editor Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 48 def ui_markdown_editor_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Textareas::MarkdownEditorField.new(content, options, html_options, &block).render end
Multi Column Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 56 def ui_multi_column_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Selects::MultiColumnField.new(content, options, html_options, &block).render end
Multi Select Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 64 def ui_multi_select_field(content = nil, options = nil, html_options = nil, &block) options = (options || {}).merge(multiple: true) UiBibz::Ui::Core::Forms::Selects::DropdownSelectField.new(content, options, html_options, &block).render end
Number Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 172 def ui_number_field(name, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Numbers::NumberField.new(name, options, html_options, &block).render end
Radio Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 113 def ui_radio_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Choices::RadioField.new(content, options, html_options, &block).render end
Range Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 181 def ui_range_field(name, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Numbers::RangeField.new(name, options, html_options, &block).render end
Select Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 121 def ui_select_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Selects::SelectField.new(content, options, html_options, &block).render end
Slider Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 190 def ui_slider_field(name, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Numbers::SliderField.new(name, options, html_options, &block).render end
Slider Header Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 199 def ui_slider_header(options, html_options = nil, &block) UiBibz::Ui::Core::Forms::Numbers::SliderHeader.new(nil, options, html_options, &block).render end
Split Dropdown Component
name
(String) [Required] options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 163 def ui_split_dropdown(name, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Dropdowns::SplitDropdown.new(name, options, html_options).tap(&block).render end
Surround Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 145 def ui_surround_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Surrounds::SurroundField.new(content, options, html_options).tap(&block).render end
Switch Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 97 def ui_switch_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Choices::SwitchField.new(content, options, html_options, &block).render end
String Field Component
options
(Hash) html_options
(Hash)
# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 81 def ui_text_field(content = nil, options = nil, html_options = nil, &block) UiBibz::Ui::Core::Forms::Texts::TextField.new(content, options, html_options, &block).render end