aboutsummaryrefslogtreecommitdiffstats
path: root/app/views/general/exception_caught.rhtml
diff options
context:
space:
mode:
authorHenare Degan <henare.degan@gmail.com>2013-02-27 10:34:47 +1100
committerHenare Degan <henare.degan@gmail.com>2013-02-27 10:34:47 +1100
commit835b51c1de0d49e652fe9c9a60f0974275de070c (patch)
tree0d64a841f28654a66556bcc0c0bb1153bae645a2 /app/views/general/exception_caught.rhtml
parent77a284d6d088f7aa6d40810d46a39658fc6cf2cd (diff)
Rename ALL THE TEMPLATES!!1!!!one!!1!!
.rhtml is deprecated in favour of .erb in Rails 3
Diffstat (limited to 'app/views/general/exception_caught.rhtml')
-rw-r--r--app/views/general/exception_caught.rhtml24
1 files changed, 0 insertions, 24 deletions
diff --git a/app/views/general/exception_caught.rhtml b/app/views/general/exception_caught.rhtml
deleted file mode 100644
index 94b0d0db7..000000000
--- a/app/views/general/exception_caught.rhtml
+++ /dev/null
@@ -1,24 +0,0 @@
-<div id="error-page">
- <% if @status == 404 %>
- <h1><%= _("Sorry, we couldn't find that page") %></h1>
-
- <p><%= _("The page doesn't exist. Things you can try now:")%></p>
-
- <ul>
- <li><%= _("Check for mistakes if you typed or copied the address.")%></li>
- <li><%= _("Search the site to find what you were looking for.")%>
- <%= form_tag({:controller => "general", :action => "search_redirect"}, {:id => "search_form"}) do %>
- <%= text_field_tag 'query', params[:query], { :size => 30 } %>
- <%= submit_tag _("Search") %>
- <% end %>
- </li>
- </ul>
- <% else %>
- <h1><%= _("Sorry, there was a problem processing this page") %></h1>
- <p><%= _('You have found a bug. Please <a href="{{contact_url}}">contact us</a> to tell us about the problem', :contact_url => help_contact_path) %></p>
-
- <% end %>
- <h2><%= _('Technical details') %></h2>
- <p><strong><%= h(@exception_class ? @exception_class : _("Unknown")) %></strong></p>
- <p><strong><%= h(@exception_message) %></strong></p>
-</div>