ActionView::Helpers::FormHelper::FormBuilder
Constants
Constructors
Instance methods
Default caption uses I18n model names in Rails ("Update Post"); the port takes an explicit caption or a block.
Invalid colors default to #000000; the value attribute is emitted BEFORE type (oracle fw_typed_text).
Rails 8.1: datetime_field renders type="datetime-local".
Public field id (sanitized), emitted even in form_with contexts where field ids are skipped (oracle ff_field_id); for scope-less builders (form_with url:) the bare attr.
fields_for — nested forms (oracle: ff_nested*, ff_child_index, ff_destroy cases). Nested-attributes naming user[posts_attributes][0][title] when the parent exposes the association through FormModel#form_nested_children, with a sequential per-association index and an automatic hidden id appended AFTER the block for persisted children (Rails: emit_hidden_id); otherwise plain scope nesting (user[comment][title]).
Opts first, no value, flips the form's multipart flag.
Set by file_field; form_with reads it after the block to emit enctype="multipart/form-data".
Rails PasswordField: the object's value is never echoed — value comes only from an explicit value: opt.
Rails Tags::TextArea: an explicit value: opt wins over the object's attribute value; attribute order opts → name → id (oracle ff_textarea_value).