Im totally new to Ruby on rails and im trying to make a simple form.this is my code. but the form is not creating. help me out
<h1>Add Post</h1>
<% form_for :post do |f| %>
<p>
<%= f.label :title %><br>
<%= f.text_field :title %>
</p>
<p>
<%= f.label :body %><br>
<%= f.text_area :body %>
</p>
<p>
<%= f.submit %>
</p>
<% end %>
<%= form_for :post do |f| %>