public
Description: Rails Plugin - a RailsEngines-based CMS extension for any Rails project
Homepage: http://6brand.com
Clone URL: git://github.com/JackDanger/simple_pages.git
studioda (author)
Thu Feb 22 21:24:48 -0800 2007
commit  053610be46254eb65294cde101eca2e1df6233dc
tree    99ef2d359ece1cf2270766cb56ab49e91ec37e07
parent  43825e1caa1777f919054f429e4a814afbb376e9
simple_pages / app / views / simple_pages / edit.rhtml
100755 11 lines (6 sloc) 0.369 kb
1
2
3
4
5
6
7
8
9
10
11
<%= link_to 'back to all pages', simple_pages_path %>
 
  <h1>You are now editing "<%= @simple_page.title %>"</h1>
 
  <%= form_tag simple_page_path(@simple_page), :method => 'put' %>
  
  <%= render :partial => 'fields' %>
  
  </form>
 
<%= render :partial => 'simple_page_version', :collection => @simple_page.versions.reverse if @simple_page.respond_to?(:versions) %>