revert 3ee20d2
This commit is contained in:
@@ -12,10 +12,6 @@
|
||||
<% end %>
|
||||
</h1>
|
||||
|
||||
<% if params[:redirected_from].present? %>
|
||||
<div class="hint redirected-from">Redirected from <%= link_to params[:redirected_from], show_or_new_wiki_pages_path(:title => params[:redirected_from], :no_redirect => true) %>.</div>
|
||||
<% end %>
|
||||
|
||||
<div id="wiki-page-body" class="prose">
|
||||
<%= format_text(@wiki_page.body) %>
|
||||
|
||||
|
||||
@@ -4,13 +4,8 @@
|
||||
|
||||
<section id="content">
|
||||
<h1 id="wiki-page-title"><%= params[:title] %></h1>
|
||||
|
||||
<% if params[:redirected_from].present? %>
|
||||
<div class="hint redirected-from">Redirected from <%= link_to params[:redirected_from], show_or_new_wiki_pages_path(:title => params[:redirected_from], :no_redirect => true) %>.</div>
|
||||
<% end %>
|
||||
|
||||
<div class="ui-corner-all ui-state-highlight notice">
|
||||
This wiki page does not yet exist. <%= link_to "Create a new wiki page", new_wiki_page_path(:wiki_page => {:title => params[:title]}) %>.
|
||||
<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>
|
||||
|
||||
<%= wiki_page_alias_and_implication_list(@wiki_page)%>
|
||||
|
||||
Reference in New Issue
Block a user