PhxComponentHelpers.set_form_attributes

You're seeing just the function set_form_attributes, go back to PhxComponentHelpers module for more information.
Link to this function

set_form_attributes(assigns)

View Source

Extends assigns with form related attributes.

If assigns contain :form and :field keys then it will set :id, :name, ':for', :value, and :errors from received Phoenix.HTML.Form.

Parameters

  • assigns - your component assigns

Example

assigns
|> set_form_attributes()