{{!
    This file is part of Moodle - http://moodle.org/

    Moodle is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Moodle 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 General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template core_user/contact_site_support_not_available

    Content displayed on the contact site support page if attempting to submit the support form fails.

    Example context (json):
    {
        "supportemail": "<a href=\"mailto:support@mail.com\">support@mail.com</a>",
        "supportform": "<input type='text' value='test'>"
    }
}}
<div class="card">
    <div class="card-body bg-light d-flex flex-row">
        <div class="p-3 mr-3 align-self-center supporticon">{{#pix}}t/life-ring, core{{/pix}}</div>
        <div class = "p-1 align-self-center text-muted">
            <div class="h4 font-weight-normal mb-0">{{#str}}supportmessagenotsent, user{{/str}}</div>
                {{#supportemail}}
                    <div class="py-3 mt-2">
                        <span class="h5 font-weight-normal w-75 rounded border p-3">
                            {{#str}}supportmessagealternative, user, {{{supportemail}}}{{/str}}
                        </span>
                    </div>
                {{/supportemail}}
            </div>
    </div>
</div>
<div class="py-1 pt-3">
    {{{supportform}}}
</div>
