{% extends "base.html" %}

{% block bodyclass %}error{% endblock %}

{% block title %}{{ page_title(_('Internal Server Error')) }}{% endblock %}

{% block content %}

<section id="content">
<div class="wrap">

  <section id="content-main" class="full" role="main">

    <h1 class="page-title">Internal Server Error</h1>
    
    <img src="{{ MEDIA_URL }}img/beast-500.png" alt="" class="beast 500">

    {% if error_message %}
      <ul class="messages errorlist">
        <li>
          {{ error_message }}
        </li>
      </ul>
    {% else %}
      <p>An unhandled error occurred in the application. The error has been logged
      and an administrator was notified. We apologize for the inconvenience!</p>

      <p>Please start over on the <a href="{{ url('home') }}">home page</a>.</p>
    {% endif %}
    <p>If you have additional information how to reproduce this problem, please
    <a href="https://bugzilla.mozilla.org/enter_bug.cgi?product=Mozilla%20Developer%20Network&component=Website">file a bug.</a>
    Thanks!</p>
    
    <p class="attrib"><small><a href="http://theoatmeal.com/comics/state_web_summer#tumblr">Tumbeasts</a> by Matthew Inman of <a href="http://theoatmeal.com">The Oatmeal</a></small></p>
    
  </section>

</div>
</section>

{% endblock %}

{% block site_js %}
    {{ super() }}
    {{ js('framebuster') }}
{% endblock %}
