<?php
/**
 * Block: Event Price
 *
 * Override this template in your own theme by creating a file at:
 * [your-theme]/tribe/events/blocks/event-price.php
 *
 * See more documentation about our Blocks Editor templating system.
 *
 * @link {INSERT_ARTCILE_LINK_HERE}
 *
 * @version 4.7
 *
 */

$cost             = $this->attr( 'cost' );
$cost_description = $this->attr( 'costDescription' );
?>
<div class="tribe-block tribe-block__event-price">
	<?php if ( $cost ) : ?>
		<span class="tribe-block__event-price__cost"> <?php echo esc_html( $cost ); ?> </span>
	<?php endif; ?>
	<?php if ( $cost_description ) : ?>
		<span class="tribe-block__event-price__description"><?php echo esc_html( $cost_description ); ?></span>
	<?php endif ?>
</div>
