<div class="user-address">
    <div class="row">
        <div class="user-address__content">

                <div class="selected-address">
                    <div>
                        {{#if hasChecked}}
                            {{> radiobutton label="Use this delivery address" name="r1" id="r1" checked=checked}}
                        {{/if}}
                    </div>
                    {{#if default}}
                        <div class="default-mark-full">Default</div>
                    {{/if}}
                </div>

            <div class="row">
                <div class="user-address__address">
                    {{{address}}}
                </div>
                <div class="user-address__phone">
                    {{{phone}}}
                </div>
                <div class="user-address__links">
                {{#if modal}}
                    <div class="user-address__btn">
                        <a href="#" class="link-secondary" data-toggle="modal" data-target="#{{modal}}">
                            Edit address
                        </a>

                        {{#if hasRemove}}
                            <a href="#" class="link-secondary btn-remove-address">
                                <span class="icon">
                                    <span class="fas fa-trash"></span>
                                </span>
                            </a>
                        {{/if}}
                    </div>
                {{/if}}
                </div>
                <div class="user-address__delete col-12 {{#unless isDeleted}}d-none{{/unless}}">
                    <p class="delete-heading">Would you like to delete this delivery address?</p>
                    <p class="delete-heading">You will not be able to undo this action.</p>

                    <div class="user-address__delete-action">
                        <a href="#" class="btn btn-secondary">
                            <span class="btn__text">Cancel</span>
                        </a>
                        <a href="#" class="btn btn-primary">
                            <span class="btn__text">Yes, delete</span>
                        </a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
