stubbed in view code from old danbooru; only janitors can lock a wiki page
This commit is contained in:
5
app/views/wiki_pages/_form.html.erb
Normal file
5
app/views/wiki_pages/_form.html.erb
Normal file
@@ -0,0 +1,5 @@
|
||||
<%= f.input :title %>
|
||||
<%= f.input :body %>
|
||||
<% if CurrentUser. %>
|
||||
<%= f.input :is_locked %>
|
||||
<%= f.button :submit, "Save" %><%= f.button :submit, "Cancel" %><%= f.button :submit "Preview" %>
|
||||
Reference in New Issue
Block a user