BareGit
{% extends "layout.html" %}

{% block content %}
<section class="page-shell mutation-error-page"
         aria-labelledby="MutationErrorHeading">
    <p class="eyebrow">
        {% if conflict %}Edit conflict{% else %}Unable to save{% endif %}
    </p>
    <h1 id="MutationErrorHeading">
        {% if conflict %}The definition changed{% else %}Check your changes{% endif %}
    </h1>
    <div class="error-summary" role="alert" tabindex="-1">
        <h2>Nothing was saved</h2>
        <p>{{ message }}</p>
        {% if files_need_reselection %}
        <p>Uploaded files were discarded and must be selected again.</p>
        {% endif %}
    </div>
    <a class="clay-action" href="{{ reload_url }}">
        Reload the editor
    </a>
</section>
{% endblock %}