mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-18 06:57:59 +01:00
12 lines
287 B
Text
12 lines
287 B
Text
h1 = @static_page.title
|
|
p
|
|
' Last updated
|
|
=> pretty_time(@static_page.updated_at)
|
|
|
|
== @static_page.body
|
|
|
|
= link "Revision history", to: Routes.page_history_path(@conn, :index, @static_page)
|
|
|
|
/- if can? :manage, StaticPage
|
|
br
|
|
=> link_to 'Edit', edit_static_page_path(@static_page)
|