{{!
    This file is part of the tool_certificate plugin for 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 tool_certificate/form-user-selector-suggestion

    Template for showing a user suggestion in user selector list

    Example context (json):
    {
        "profileimageurlsmall": "https://raw.githubusercontent.com/moodle/moodle/master/pix/g/f1.png",
        "fullname": "John Smith",
        "hasidentity": "1",
        "identity": "john@smith.com"
    }
}}
<span>
<img height="12" src="{{profileimageurlsmall}}" alt="">
    <span>{{fullname}}</span>
{{#hasidentity}}
<span><small>{{identity}}</small></span>
{{/hasidentity}}
</span>
