<?php
/**
 * Bitcoin tab
 *
 * @since  1.0.0
 *
 * @category  WordPress_Plugin
 * @package   QrCdr
 * @author    Nicola Franchini
 * @link      http://veno.es
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit;
}
?>
<div data-qrcdr-section="bitcoin" class="qrcdr-bitcoin tab-pane fade<?php echo esc_attr( $qrcdr_activesection ); ?>" id="qrcdr-bitcoin-<?php echo esc_attr( $form_id ); ?>" aria-labelledby="qrcdr-tab-bitcoin-<?php echo esc_attr( $form_id ); ?>">
	<h2 class="qrcdr-tab-title"><?php echo isset( $current_tab['label'] ) ? esc_html( $current_tab['label'] ) : ''; ?></h2>
	<div class="row">
		<div class="col-sm-6 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['btc_label'] ); ?>
		</div>
	   <div class="col-sm-6 form-group">
			<label><?php esc_html_e( 'Amount', 'qrcdr' ); ?></label>
			<div class="input-group">
				<?php qrcdr_renderer()->the_input( $current_tab['inputs']['btc_amount'] ); ?>
				<div class="input-group-append">
					<span class="input-group-text rounded-start-0">BTC</span>
				</div>
			</div>
		</div>
		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['btc_account'] ); ?>
		</div>
		<div class="col-12 form-group">
			<?php qrcdr_renderer()->the_input( $current_tab['inputs']['btc_message'] ); ?>
		</div>
	</div>
</div>