Fix status views

This commit is contained in:
Basti 2022-02-23 17:50:16 -06:00
parent 3165714957
commit 1fecfe57de
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
3 changed files with 6 additions and 6 deletions

View File

@ -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 %>

View File

@ -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 %>

View File

@ -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 %>