Sha256: 274d84d68c5baa70474d9576b8f62f79954c65a39b09473dd2847a571a125dc6

Contents?: true

Size: 943 Bytes

Versions: 7

Compression:

Stored size: 943 Bytes

Contents

<h1>Forbidden</h1>

<h2>You do not have access to this page</h2>

<hr/>

<% if missing_permissions.present? %>
<p>Your user account requires the following permission(s) to view this content:</p>

<div>
  <ul style="list-style-type: none;">
    <% missing_permissions.each do |missing_permission| %>
      <li class="font-monospace"><%= missing_permission %></li>
    <% end %>
  </ul>
</div>

<hr/>
<% end %>

<p>Please contact your administrator if you need access to this page, or <%= link_to 'go back', request.referrer %> to the previous page and try a different option.</p>

<% if alternatives.present? %>
  <div class="alternative-links">
    <h5>Alternatively, try one of the following suggestions:</h5>

    <ul class="pt-1" style="list-style-type: none">
      <% alternatives.first(5).each do |route| %>
        <li class="mt-1 font-monospace"><%= link_to route.title, route.path %></li>
      <% end %>
    </ul>
  </div>
<% end %>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
active_element-0.0.8 app/views/active_element/forbidden.html.erb
active_element-0.0.7 app/views/active_element/forbidden.html.erb
active_element-0.0.6 app/views/active_element/forbidden.html.erb
active_element-0.0.5 app/views/active_element/forbidden.html.erb
active_element-0.0.4 app/views/active_element/forbidden.html.erb
active_element-0.0.3 app/views/active_element/forbidden.html.erb
active_element-0.0.2 app/views/active_element/forbidden.html.erb