123456789101112131415161718192021222324252627282930313233343536373839 |
- <%
- # Copyright (C) 2011 - present Instructure, Inc.
- #
- # This file is part of Canvas.
- #
- # Canvas is free software: you can redistribute it and/or modify it under
- # the terms of the GNU Affero General Public License as published by the Free
- # Software Foundation, version 3 of the License.
- #
- # Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
- # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
- # A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
- # details.
- #
- # You should have received a copy of the GNU Affero General Public License along
- # with this program. If not, see <http://www.gnu.org/licenses/>.
- %>
- <%
- self.instance_variables.each do |name|
- if name.match(/\A@content_for/)
- instance_variable_set(name, nil)
- end
- end
- exception ||= nil
- %>
- <% content_for :page_title, t('title', 'Page Not Found') %>
- <div style="width: 410px; margin-left: auto; margin-right: auto; margin-top: 50px;">
- <h2>{{#t}}Page Not Found{{/t}}</h2>
- <% if @not_found_message %>
- <p><%= @not_found_message %></p>
- <% else %>
- <p>{{#t}}Oops, we couldn't find that page.{{/t}}</p>
- <% end %>
- <a href="#" style="font-size: 1.2em;" class="icon-discussion submit_error_link discussion-topic">{{#t}}Click here to tell us what you were looking for.{{/t}}</a>
- {{> views/shared/errors/error_form}}
- </div>
|