Module: ViewComponent::Form
- Defined in:
- lib/view_component/form.rb,
lib/view_component/form/engine.rb,
lib/view_component/form/builder.rb,
lib/view_component/form/version.rb,
lib/view_component/form/renderer.rb,
lib/view_component/form/test_helpers.rb,
lib/view_component/form/configuration.rb,
lib/view_component/form/helpers/rails.rb,
lib/view_component/form/helpers/custom.rb,
lib/view_component/form/class_names_helper.rb,
lib/view_component/form/validation_context.rb,
app/components/view_component/form/base_component.rb,
app/components/view_component/form/hint_component.rb,
lib/view_component/form/helpers/rails_7_backports.rb,
app/components/view_component/form/field_component.rb,
app/components/view_component/form/label_component.rb,
app/components/view_component/form/button_component.rb,
app/components/view_component/form/select_component.rb,
app/components/view_component/form/submit_component.rb,
app/components/view_component/form/check_box_component.rb,
app/components/view_component/form/text_area_component.rb,
app/components/view_component/form/url_field_component.rb,
app/components/view_component/form/date_field_component.rb,
app/components/view_component/form/file_field_component.rb,
app/components/view_component/form/text_field_component.rb,
app/components/view_component/form/time_field_component.rb,
app/components/view_component/form/week_field_component.rb,
app/components/concerns/view_component/form/element_proc.rb,
app/components/view_component/form/color_field_component.rb,
app/components/view_component/form/date_select_component.rb,
app/components/view_component/form/email_field_component.rb,
app/components/view_component/form/month_field_component.rb,
app/components/view_component/form/range_field_component.rb,
app/components/view_component/form/time_select_component.rb,
app/components/view_component/form/number_field_component.rb,
app/components/view_component/form/radio_button_component.rb,
app/components/view_component/form/search_field_component.rb,
app/components/view_component/form/error_message_component.rb,
app/components/view_component/form/password_field_component.rb,
app/components/view_component/form/rich_text_area_component.rb,
app/components/view_component/form/weekday_select_component.rb,
app/components/view_component/form/datetime_select_component.rb,
app/components/view_component/form/telephone_field_component.rb,
app/components/view_component/form/time_zone_select_component.rb,
app/components/view_component/form/collection_select_component.rb,
app/components/view_component/form/datetime_local_field_component.rb,
app/components/view_component/form/collection_check_boxes_component.rb,
app/components/view_component/form/collection_radio_buttons_component.rb,
app/components/view_component/form/grouped_collection_select_component.rb
Defined Under Namespace
Modules: ClassNamesHelper, ElementProc, Helpers, Renderer, TestHelpers, ValidationContext
Classes: BaseComponent, Builder, ButtonComponent, CheckBoxComponent, CollectionCheckBoxesComponent, CollectionRadioButtonsComponent, CollectionSelectComponent, ColorFieldComponent, Configuration, DateFieldComponent, DateSelectComponent, DatetimeLocalFieldComponent, DatetimeSelectComponent, EmailFieldComponent, Engine, ErrorMessageComponent, FieldComponent, FileFieldComponent, GroupedCollectionSelectComponent, HintComponent, LabelComponent, MonthFieldComponent, NumberFieldComponent, PasswordFieldComponent, RadioButtonComponent, RangeFieldComponent, RichTextAreaComponent, SearchFieldComponent, SelectComponent, SubmitComponent, TelephoneFieldComponent, TextAreaComponent, TextFieldComponent, TimeFieldComponent, TimeSelectComponent, TimeZoneSelectComponent, UrlFieldComponent, WeekFieldComponent, WeekdaySelectComponent
Constant Summary
collapse
- VERSION =
"0.2.9"
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
9
10
11
|
# File 'lib/view_component/form.rb', line 9
def configuration
@configuration ||= Configuration.new
end
|
13
14
15
|
# File 'lib/view_component/form.rb', line 13
def configure
yield configuration
end
|