{{!
    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 mod_verbalfeedback/decline_feedback

    The purpose of this template is to enable the user participating in a verbal feedback decline a feedback request.

    Classes required for JS:
    * none

    Data attributes required for JS:
    * none

    Context variables required for this template:
    * name The name of the user that the feedback is being declined for.
    * statusid The ID for the feedback's completion status record.

    Example context (json):
    {
        "name" : "Eric Cartman",
        "statusid" : 1
    }
}}
<div class="container">
    <div>
        <h5>{{#str}}declineheading, mod_verbalfeedback, {{name}} {{/str}}</h5>
    </div>
    <div class="form-group">
        <label for="decline-reason">
            {{#str}}declinereason, mod_verbalfeedback{{/str}}
        </label>
        <textarea class="form-control" id="decline-reason" placeholder="{{#str}}declinereasonplaceholdertext, mod_verbalfeedback{{/str}}" cols="44" rows="5"></textarea>
        <input type="hidden" value="{{statusid}}" id="decline-statusid">
    </div>
</div>
