{{!
   This file is part of Totara LMS

   Copyright (C) 2015 onwards Totara Learning Solutions LTD

   This program 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.

   This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
}}
{{!
    @template core/blocks

    Creates the totara menu.

    Classes required for JS:
    * none

    Data attributes required for JS:
    * none

    Context variables required for this template:
    * tag String The block region tag name, Should not be used.
    * id String The block region id.
    * class String The block region classes.
    * displayregion String The block region display data.

    Example context (json):
    {
        "tag": "aside",
        "id": "block-region-side-pre",
        "displayregion": "side-pre",
        "class": "span4 desktop-first-column block-region",
        "content": "<p>I love blocks!</p>"
    }
}}
<aside id="{{id}}" class="{{class}}" data-droptarget="1" data-blockregion="{{displayregion}}">
    {{{content}}}
</aside>