forked from bofh/fetsite
pages added
This commit is contained in:
15
app/views/pages/show.haml
Normal file
15
app/views/pages/show.haml
Normal file
@@ -0,0 +1,15 @@
|
||||
%small
|
||||
= breadcrumbs(@page)
|
||||
|
||||
%h4
|
||||
= "Page name: #{@page.name}"
|
||||
= link_to '(Edit)', edit_page_path(@page)
|
||||
= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete
|
||||
|
||||
%small= "Last edited by #{@page.author} #{time_ago_in_words(@page.date)} ago."
|
||||
|
||||
%hr
|
||||
|
||||
= raw(@page.content)
|
||||
|
||||
%hr
|
||||
Reference in New Issue
Block a user