To edit pages or tickets please login with username/password: aaf/aaf

root/trunk/demo/app/views/contents/new.rhtml

Revision 245, 247 bytes (checked in by jk, 1 year ago)

#171 - :remote now is true by default; fixes to demo app

Line 
1 <h1>New content</h1>
2
3 <% form_for :content, @content, :url => contents_path, :html => { :method => :post } do |f| %>
4   <%= render :partial => 'form', :object => f %>
5   <%= submit_tag "Create" %>
6 <% end %>
7
8 <%= link_to 'Back', :action => 'list' %>
Note: See TracBrowser for help on using the browser.

To edit pages or tickets please login with username/password: aaf/aaf