Sha256: 4086537f966cfebc3fcbfbdafd35c0e417f80c11544091aaa50e47e2abaabc2e

Contents?: true

Size: 859 Bytes

Versions: 20

Compression:

Stored size: 859 Bytes

Contents

<% page_title "Page Not Found" %>

<%# 
  Note that we have to clear out the existing contents of
  the functions and html_head content because you can have
  an error occur in the view after stuff has been already
  set in those variables
%>

<% @content_for_functions = "" %>
<%= content_for :functions, "<h1>#{ page_title }</h1>" %>

<% @content_for_html_head = "" %>
<%= content_for :html_head do %>
  <style type="text/css">
    .cms_error {
      overflow: auto;
      padding: 10px;
    }
    .cms_error h2 {
      font-size: 18px;
      font-weight: bold;
      line-height: 18px;
      margin-bottom: 5px;
    }
    .cms_error pre {
      font-family: "Monaco", monospace;
      font-size: 12px;
      line-height: 12px;
      margin-bottom: 20px;
    }
  </style>
<% end %>

<div class="cms_error">
  <h2>There is no page at <%= @path %></h2>
</div>

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
browsercms-3.5.4 app/views/cms/content/no_page.html.erb
browsercms-3.5.3 app/views/cms/content/no_page.html.erb
browsercms-3.5.2 app/views/cms/content/no_page.html.erb
browsercms-3.5.1 app/views/cms/content/no_page.html.erb
browsercms-3.5.0 app/views/cms/content/no_page.html.erb
browsercms-3.5.0.rc3 app/views/cms/content/no_page.html.erb
browsercms-3.5.0.rc2 app/views/cms/content/no_page.html.erb
browsercms-3.5.0.rc1 app/views/cms/content/no_page.html.erb
browsercms-3.4.2 app/views/cms/content/no_page.html.erb
browsercms-3.3.4 app/views/cms/content/no_page.html.erb
browsercms-3.4.2.rc1 app/views/cms/content/no_page.html.erb
browsercms-3.4.1 app/views/cms/content/no_page.html.erb
browsercms-3.4.0 app/views/cms/content/no_page.html.erb
browsercms-3.4.0.rc2 app/views/cms/content/no_page.html.erb
browsercms-3.4.0.rc1 app/views/cms/content/no_page.html.erb
browsercms-3.3.3 app/views/cms/content/no_page.html.erb
browsercms-3.3.2 app/views/cms/content/no_page.html.erb
browsercms-3.3.1 app/views/cms/content/no_page.html.erb
browsercms-3.3.0 app/views/cms/content/no_page.html.erb
browsercms-3.3.0.beta app/views/cms/content/no_page.html.erb