Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <% form_for([@category, @post, @comment]) do |f| -%>
- <p>
- <%= f.label :login, "Pseudonyme" %> :
- <%= f.text_field :login %>
- </p>
- <p>
- <%= f.label :email, "Email" %> :
- <%= f.text_field :email %>
- </p>
- <p>
- <%= f.label :website, "Site Web" %> :
- <%= f.text_field :website %>
- </p>
- <p>
- <%= f.label :body, "Commentaire" %> :<br />
- <%= f.text_area :body %>
- </p>
- <p>
- <%= f.submit button_name %>
- </p>
- <% end -%>
Add Comment
Please, Sign In to add comment