<div class="row title">
    <div class="col-xl-12">
        <h2 class="h2 heading-title"><?php echo $heading_title; ?></h2>
    </div>
</div>
<?php if ($success) { ?>
    <div class="alert alert-success alert-dismissible" role="alert">
        <?php echo $success; ?>
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
<?php }
if ($error_warning) { ?>
    <div class="alert alert-error alert-danger alert-dismissible" role="alert">
        <?php echo $error_warning; ?>
        <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
    </div>
<?php } ?>

<div class="container">
    <h4><?php echo $text_edit_address; ?></h4>
    <div class="row">
        <div class="col-md-6">
            <div class="card d-flex flex-column h-100">
                <div class="card-body">
                    <b class="mb-2"><?php echo $text_address; ?></b><br/>
                    <?php echo $store; ?><br/>
                    <address><?php echo $address; ?></address>
                </div>
            </div>
        </div>
        <div class="col-md-6 col-md-6  mt-4 mt-md-0">
            <div class="card d-flex flex-column h-100">
                <div class="card-body">
                    <?php if ($telephone) { ?>
                        <b class="mb-2"><?php echo $text_telephone; ?></b><br/>
                        <a href="tel:<?php echo $telephone; ?>"><?php echo $telephone; ?></a><br/>
                        <br/>
                    <?php }
                     echo $this->getHookVar('after_telephone');
                    if ($fax) { ?>
                        <b class="mb-2"><?php echo $text_fax; ?></b><br/>
                        <?php echo $fax;
                    } ?>
                </div>
            </div>
        </div>
    </div>
    <div class="card mt-4">
        <div class="card-body">
            <?php echo $form_output; ?>
        </div>
    </div>
</div>
