Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <h1> Novo post </h1>
- <% form_for @posts do |f| %>
- <label> Título </label> <br />
- <%=f.text_field :title %> <br />
- <label> Conteúdo </label> <br />
- <%= f.text_area :content %> <br />
- <%= f.submit "Publicar novo post" %>
- <% end %>
Add Comment
Please, Sign In to add comment