<script type="text/template" id="post-sale-template">
    <div class="bp-d-flex buyout-block">
        <div class="buyout-block__inner">
            <div class="buyout-block__label">
                <p><?= __('Price', 'auctionforge') ?>:</p>
            </div>
            <div class="buyout-block__price">
                <p><%- formattedPrice(price, currentCurrency) %></p>
            </div>
        </div>
        <input type="hidden" name="price" value="<%- price %>">
        <div class="buyout-block__btn">
            <button id="post-sale-action" data-micromodal-trigger="modal-post-sale" class="bp-btn bp-btn-default">
                <?= __('Buy now', 'auctionforge') ?>
            </button>
        </div>
    </div>
</script>