{{!
    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 contenttype_repurpose/tutorial

    This template renders the tutorial links H5P input tool forms

    Example context (json):
    {
        "library": "column",
        "type": "Input to Column"
    }
}}

<div class="row m-3 d-flex">
    <div>
        <a href="https://openlearner.org/repurpose-tutorial-{{ library }}" class="p-1" target="_blank">
            <i class="fa fa-graduation-cap"></i>
            {{# str }} tutorial, contenttype_repurpose {{/ str }}
        </a>
        <a href="https://docs.moodle.org/en/Repurpose_resources_content_type_plugin" class="p-1" target="_blank">
            <i class="fa fa-book"></i>
            {{# str }} moodledocs {{/ str }}
        </a>
    </div>
    <div class="col col-12">
        {{ type }}
    </div>
</div>
