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 Source
effective_form_for(Phoenix.HTML.FormData.t(), String.t()) ::
  Phoenix.HTML.Form.t()
Link to this function

effective_form_for(form_data, action, options)

View Source
Link to this function

effective_form_for(form_data, action, options \\ [], fun)

View Source