{{!
    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/>.
}}
<div class="nav-tabs-horizontal" data-plugin="tabs"> 
    <ul class="nav nav-tabs nav-tabs-line border-0" role="tablist">
        <li class="nav-item">
            <a class="nav-link active" href="#recent_assignment" role="tab" data-toggle="tab">
                {{# hasrecentassignments }}
                    {{#str}}assignmentstobegraded, block_remuiblck{{/str}}
                {{/ hasrecentassignments }}
                {{^ hasrecentassignments }}
                    {{#str}}recentfeedback, block_remuiblck{{/str}}
                {{/ hasrecentassignments }}
            </a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#recent_active_forum" role="tab" data-toggle="tab">
                {{#str}}recentlyactiveforums, block_remuiblck{{/str}}
            </a>
        </li>
    </ul>
    <div class="tab-content bg-white">
        <div role="tabpanel" class="tab-pane fade show active" id="recent_assignment">
            {{> block_remuiblck/recent_assignments }}
        </div>
        <div role="tabpanel" class="tab-pane fade show" id="recent_active_forum">
            {{> block_remuiblck/recent_active_forum }}
        </div>
    </div>
</div>
