<div class="card">
    {% set xnote_table_var = "relation_table" %}
    <div class="table-action-row">
        <button class="btn" onclick="xnote.table.handleEditForm(this)"
            data-url="/note/relation?action=edit&note_id={{file.id}}"
            data-title="{{create_btn_text}}">{{create_btn_text}}</button>
    </div>
    {% include common/table/table.html %}
</div>

<div class="card">
    {% set xnote_table_var = "rev_relation_table" %}
    <div class="table-action-row">
        <span>反向关系</span>
    </div>
    {% include common/table/table.html %}
</div>
