GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

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 / show.rhtml
100644 5 lines (4 sloc) 0.253 kb
1
2
3
4
5
<%= link_to image_tag('page_edit.png', :plugin => :simple_pages)+' Edit this Page', simple_edit_page_path(@simple_page) if can_manage_pages? %>
<div id="simple_page_<%= @simple_page.to_param %>" class="simple_page">
  <%= @simple_page.content %>
</div>