mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-24 20:37:59 +01:00
11 lines
325 B
Text
11 lines
325 B
Text
h1 = @static_page.title
|
|
p
|
|
' Last updated
|
|
=> pretty_time(@static_page.updated_at)
|
|
|
|
== @static_page.body
|
|
|
|
p = link "Revision history", to: Routes.page_history_path(@conn, :index, @static_page)
|
|
|
|
= if can?(@conn, :edit, Philomena.StaticPages.StaticPage) do
|
|
p = link "Edit", to: Routes.page_path(@conn, :edit, @static_page)
|