Label

Defines a label


Provides a wrapper for Phoenix.HTML.Form's label/3 function.

All options passed via opts will be sent to label/3, class can be set directly and will override anything in opts.



<Field name="name">
  <Label>First name</Label>
  <TextInput/>
</Field>

# Public API

Name Description Type Values Default
form The form identifier.

:form
field The field name.

:atom
class The CSS class for the underlying tag.

:css_class
opts Options list.

:keyword []