Changeset 245 for trunk/demo/app/views/contents
- Timestamp:
- 09/17/07 09:41:41 (1 year ago)
- Files:
-
- trunk/demo/app/views/contents/new.rhtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/demo/app/views/contents/new.rhtml
r228 r245 1 1 <h1>New content</h1> 2 2 3 <% form_for :content, @content, contents_path, :html => { :method => :post } do |f| %>3 <% form_for :content, @content, :url => contents_path, :html => { :method => :post } do |f| %> 4 4 <%= render :partial => 'form', :object => f %> 5 5 <%= submit_tag "Create" %>
