<form method="post" class="condition-relationship-form">
    {% csrf_token %}
    <input type="hidden" name="action" value="update_relationships">
    <div class="mb-3">
        <label class="form-label" for="id_parents">Parents</label>
        {{ relationship_form.parents }}
    </div>
    <div class="mb-3">
        <label class="form-label" for="id_children">Children</label>
        {{ relationship_form.children }}
    </div>
    <button class="btn btn-sm btn-primary" type="submit">Save relationships</button>
</form>
