Fix status views
This commit is contained in:
parent
3165714957
commit
1fecfe57de
@ -1,6 +1,6 @@
|
|||||||
<%= render partial: "components/header", locals: { page_title: "403" } %>
|
<%= render HeaderCompactComponent.new(title: "403") %>
|
||||||
|
|
||||||
<%= render layout: "components/main_simple" do %>
|
<%= render MainCompactComponent.new do %>
|
||||||
<h2>Access forbidden</h2>
|
<h2>Access forbidden</h2>
|
||||||
<p>Sorry, you're not allowed to access this page.</p>
|
<p>Sorry, you're not allowed to access this page.</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%= render partial: "components/header", locals: { page_title: "404" } %>
|
<%= render HeaderCompactComponent.new(title: "404") %>
|
||||||
|
|
||||||
<%= render layout: "components/main_simple" do %>
|
<%= render MainCompactComponent.new do %>
|
||||||
<h2>Not found</h2>
|
<h2>Not found</h2>
|
||||||
<p>Sorry, this page does not exist.</p>
|
<p>Sorry, this page does not exist.</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
<%= render partial: "components/header", locals: { page_title: "401" } %>
|
<%= render HeaderCompactComponent.new(title: "401") %>
|
||||||
|
|
||||||
<%= render layout: "components/main_simple" do %>
|
<%= render MainCompactComponent.new do %>
|
||||||
<h2>Unauthorized</h2>
|
<h2>Unauthorized</h2>
|
||||||
<p>This page needs authorization to access.</p>
|
<p>This page needs authorization to access.</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user