<?xml version="1.0"?>
<t name="My journal email notification settings" t-name="account.portal_my_journal_mail_notifications">
        <t t-call="portal.portal_layout">
            <t t-set="breadcrumbs_searchbar" t-value="True"/>
            <t t-call="portal.portal_searchbar">
                <t t-set="title">Email Notifications</t>
            </t>
            <div class="row">
                <div class="col-12">
                    <div class="card">
                        <div class="card-body">
                            <h5 class="card-title">Invoice Notifications</h5>
                            <p class="card-text">You can unsubscribe from emails received upon invoice reception here.</p>
                            <div t-if="completed" class="alert alert-success" role="alert">
                                Successfully unsubscribed from invoice notifications
                            </div>
                            <form t-else="" method="POST">
                                <input type="hidden" name="csrf_token" t-att-value="request.csrf_token()"/>
                                <button type="submit" class="btn btn-primary">Unsubscribe</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </t>
    </t>

    