fixes #1579
This commit is contained in:
18
app/views/wiki_pages/show_or_new.html.erb
Normal file
18
app/views/wiki_pages/show_or_new.html.erb
Normal file
@@ -0,0 +1,18 @@
|
||||
<div id="c-wiki-pages">
|
||||
<div id="a-show">
|
||||
<%= render "sidebar" %>
|
||||
|
||||
<section id="content">
|
||||
<h1 id="wiki-page-title"><%= params[:title] %></h1>
|
||||
<div id="wiki-page-body" class="prose">
|
||||
<p>This wiki page does not exist. <%= link_to "Create new wiki page", new_wiki_page_path(:wiki_page => {:title => params[:title]}) %>.</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% content_for(:page_title) do %>
|
||||
Wiki - <%= params[:title] %> - <%= Danbooru.config.app_name %>
|
||||
<% end %>
|
||||
|
||||
<%= render "secondary_links" %>
|
||||
Reference in New Issue
Block a user