module UiBibz::Helpers::Ui::Core::FormsHelper

Public Instance Methods

ui_auto_complete_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_box_switch_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_button(content = nil, options = nil, html_options = nil, &block) click to toggle source

Button Component

options (Hash) html_options (Hash)

# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 8
def ui_button(content = nil, options = nil, html_options = nil, &block)
  UiBibz::Ui::Core::Forms::Buttons::Button.new(content, options, html_options, &block).render
end
ui_button_group(content = nil, options = nil, html_options = nil, &block) click to toggle source

Button Group Component

options (Hash) html_options (Hash)

# File lib/ui_bibz/helpers/ui/core/forms_helper.rb, line 24
def ui_button_group(content = nil, options = nil, html_options = nil, &block)
  UiBibz::Ui::Core::Forms::Buttons::ButtonGroup.new(content, options, html_options).tap(&block).render
end
ui_checkbox_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_choice_group(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_date_picker_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_dropdown(name, options = nil, html_options = nil, &block) click to toggle source

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
ui_dropdown_select_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_file_field(name, options = nil, html_options = nil, &block) click to toggle source

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
ui_formula_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_markdown_editor_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_multi_column_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_multi_select_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_number_field(name, options = nil, html_options = nil, &block) click to toggle source

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
ui_radio_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_range_field(name, options = nil, html_options = nil, &block) click to toggle source

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
ui_select_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_slider_field(name, options = nil, html_options = nil, &block) click to toggle source

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
ui_slider_header(options, html_options = nil, &block) click to toggle source

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
ui_split_dropdown(name, options = nil, html_options = nil, &block) click to toggle source

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
ui_surround_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_switch_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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
ui_text_field(content = nil, options = nil, html_options = nil, &block) click to toggle source

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