{% load djblets_js i18n %}

<script type="text/javascript">
$(function() {
    var view = new RB.RelatedUserSelectorView({
        $input: $('#{{input_id|escapejs}}'),
        initialOptions: {{users|json_dumps}},
{% if local_site_name %}
        localSitePrefix: 's/{{local_site_name|escapejs}}/',
{% endif %}
        useAvatars: {{use_avatars|yesno:'true,false'}},
        multivalued: {{multivalued|yesno:'true,false'}}
    }).render();
});
</script>
