This commit is contained in:
albert
2012-01-06 18:58:01 -05:00
parent ef27934125
commit 779ff94944
5 changed files with 17 additions and 9 deletions

View File

@@ -3,7 +3,13 @@
<%= render "sidebar" %>
<section id="content">
<h1 id="wiki-page-title"><%= @wiki_page.pretty_title %></h1>
<h1 id="wiki-page-title">
<%= @wiki_page.pretty_title %>
<% if @wiki_page.is_locked? %>
(locked)
<% end %>
</h1>
<div id="wiki-page-body" class="prose">
<%= format_text(@wiki_page.body) %>