discourse/app/views/exceptions/not_found.html.erb

22 lines
608 B
Plaintext
Raw Normal View History

<h1 class="page-not-found"><%= t 'page_not_found.title' %></h1>
<%= build_plugin_html 'server:not-found-before-topics' %>
2017-11-14 11:57:17 -05:00
2019-02-12 05:20:33 -05:00
<%= @topics_partial %>
<%- unless @hide_search%>
2014-04-29 15:17:40 -04:00
<div class="row">
2017-11-24 12:41:31 -05:00
<div class="page-not-found-search">
2014-09-06 04:01:05 -04:00
<h2><%= t 'page_not_found.search_title' %></h2>
2014-04-29 15:17:40 -04:00
<p>
<form action='/search' id='discourse-search'>
<input type="text" name="q" value="<%= @slug %>">
<button class="btn btn-primary"><%= t 'page_not_found.search_button' %></button>
2014-04-29 15:17:40 -04:00
</form>
</p>
</div>
</div>
<%= preload_script('onpopstate-handler') %>
2014-04-29 15:17:40 -04:00
<%- end %>