ExEffectiveBootstrap v0.1.17 ExEffectiveBootstrap.Form View Source
Call effective_form for the same way as phoenix form_for But use the input syntax instead.
<%= effective_form_for @changeset, Routes.foo_path(@conn, :update) fn f -> %> <%= input f, :email %> <%= input f, :password %> <%= input f, :author_id, select: author_ids(), selected: 1 %> <%= effective_submit "Save" %> <% end %>
Link to this section Summary
Link to this section Functions
Link to this function
effective_form_for(form_data, action)
View Sourceeffective_form_for(Phoenix.HTML.FormData.t(), String.t()) :: Phoenix.HTML.Form.t()
Link to this function
effective_form_for(form_data, action, options)
View Sourceeffective_form_for(Phoenix.HTML.FormData.t(), String.t(), Keyword.t()) :: Phoenix.HTML.Form.t()
effective_form_for( Phoenix.HTML.FormData.t() | atom(), String.t(), (Phoenix.HTML.Form.t() -> Phoenix.HTML.unsafe()) ) :: Phoenix.HTML.safe()
Link to this function
effective_form_for(form_data, action, options \\ [], fun)
View Sourceeffective_form_for( Phoenix.HTML.FormData.t() | atom(), String.t(), Keyword.t(), (Phoenix.HTML.Form.t() -> Phoenix.HTML.unsafe()) ) :: Phoenix.HTML.safe()