Files
danbooru/app/views/wiki_pages/new.html.erb
2013-03-22 10:24:01 -07:00

32 lines
833 B
Plaintext

<div id="c-wiki-pages">
<div id="a-new">
<%= render "sidebar" %>
<section id="content">
<h1>New Wiki Page</h1>
<% if @wiki_page.title.present? %>
<div class="ui-corner-all ui-state-highlight notice">
This wiki page does not yet exist. The form below will allow you to create a new page for <%= @wiki_page.title %>. It will act as an explanation on how to use the tag for other users on the site.
</div>
<% end %>
<%= render "form" %>
<div id="wiki-page-posts">
<h2>Posts</h2>
<%= @wiki_page.post_set.presenter.post_previews_html(self) %>
</div>
<div class="clearfix"></div>
</section>
</div>
</div>
<%= render "secondary_links" %>
<% content_for(:page_title) do %>
New Wiki Page - <%= Danbooru.config.app_name %>
<% end %>