concept form in category elixir
appears as: form

This is an excerpt from Manning's book Phoenix in Action.
The template renders the HTML response (for an HTML request) to the user based on their request. In our example, this included the details of the blog post along with a list of comments and a form to allow the user to submit their own comment.
To render your bid form the way you’d like, you need a way to create a new, fresh Bid struct and pass that into the form. This is very easy to do in the Auction module in apps/auction/lib/auction.ex: add a blank Bid that goes through a blank changeset as in the following listing. This will return all the information the bid form will need to know in order to render the form and any errors correctly. You did something similar for Auction.new_item/0 and Auction.new_user/0.