{% load django_tables2 crispy_forms_tags i18n %}
<div class="d-flex justify-content-center">
    <input id="alias_input" type="text" value=""/>
    <button id="alias_submit" class="btn btn-primary mx-2" onclick="create_alias( {{ object.note.pk }} )" type="submit">
        {% trans "Add alias" %}
    </button>
</div>
<div class="card bg-light shadow">
    <div class="card-body">
        {% render_table aliases %}
    </div>
</div>