ActionView::Helpers::FormHelper
def label(object_name, method, content_or_options = nil, options = nil, &block)
Description
Creates a <label> for a model attribute.
ERB
Changes from the previous output: Added Removed Changed
HTML
Preview
Interacting with the preview updates the form submission.
Form submission
Form data
| name | value |
|---|
Request body
Content-Type:
params