access_denied.rhtml
522 Bytes
<div id='access-denied'>
<h1> <%= _('Access denied') %> </h1>
<% unless @message.nil? %>
<p><%= @message %></p>
<% else %>
<p><%= _('You are not allowed to view this page.') %></p>
<p><%= _("If you are supposed to have access to this area, you'll probably want to talk to the people responsible and ask them to give you access.") %></p>
<% end %>
<ul>
<li><%= link_to _('Go to the site home page'), :controller => 'home' %></li>
<li><%= link_to _('Go back'), :back %></li>
</ul>
</div>