Created
November 1, 2008 11:04
-
-
Save xdite/21501 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>New post</h1> | |
<% form_for :post , :url => blogs_path do |f| -%> | |
<%= f.error_messages %> | |
<div><label>subject</label><%= f.text_field :subject %></div> | |
<div><label>content</label><%= f.text_area :content %> </div> | |
<%= f.submit "Submit", :disable_with => 'Submiting...' %> | |
<% end -%> | |
<%= link_to 'Back', blogs_path %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment