This commit is contained in:
r888888888
2013-05-31 14:56:48 -07:00
parent b497edc4bf
commit c936fe5796

View File

@@ -2,11 +2,13 @@
<%= error_messages_for("wiki_page") %>
<%= simple_form_for(@wiki_page) do |f| %>
<%= f.input :title, :as => :string %>
<% if !@wiki_page.new_record? && CurrentUser.user.is_builder? %>
<%= f.input :title, :as => :string %>
<% end %>
<%= dtext_field "wiki_page", "body" %>
<% if CurrentUser.is_janitor? %>
<% if CurrentUser.user.is_janitor? %>
<%= f.input :is_locked %>
<% end %>