<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2024 Tecnativa - Pedro M. Baeza
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="view_online_bank_statement_provider_existing_form" model="ir.ui.view">
        <field name="model">online.bank.statement.provider.existing</field>
        <field name="arch" type="xml">
            <form>
                <div class="oe_form_box_info bg-info oe_text_center">
                    <p><i
                            class="fa fa-info-circle"
                        /> There's already another journal from the same bank institution linked with GoCardless. Do you want to reuse the existing credentials or create new ones?</p>
                </div>
                <br />
                <div>
                    <p
                    >Some banks only allow one credentials, while others work better with separate ones, so it's a matter of trying.</p>
                </div>
                <footer>
                    <button
                        name="link_existing"
                        type="object"
                        string="Reuse existing"
                    />
                    <button name="new_link" type="object" string="New link" />
                </footer>
            </form>
        </field>
    </record>
</odoo>
