Label
Last updated
Was this helpful?
Was this helpful?
label id: "foo", class: "bar", for: 'input_id', form: 'form1' do
plain 'Label For Element'
end<label for="input_id" id="foo" class="bar">
Label For Element
</label>label id: 'foo', form: 'form1', text: "Label for form with id='form1'"<label form="form1" id="foo">Label for form with id='form1'</label>