Sindbad~EG File Manager

Current Path : /home/x/i/e/xiedrke/entrepot/wp-content/plugins/realpress/views/admin/fields/
Upload File :
Current File : /home/x/i/e/xiedrke/entrepot/wp-content/plugins/realpress/views/admin/fields/price.php

<?php
if ( ! isset( $field ) ) {
	return;
}

use RealPress\Helpers\General;
use RealPress\Helpers\Price;

$required = $field->required ? ' required' : '';
$step     = $field->step ?? 'any';
?>

<div class="<?php echo esc_attr( ltrim( $field->class . ' ' . 'realpress-field-wrapper realpress-price-wrapper' ) ); ?>">
	<?php
	if ( ! empty( $field->title ) ) {
		?>
		<div class="realpress-title-wrapper">
			<label for="<?php echo esc_attr( $field->id ); ?>"><?php echo esc_html( $field->title ); ?></label>
		</div>
		<?php
	}
	?>
	<div class="realpress-input-content">
		<input type="hidden" name="<?php echo esc_attr( $field->name ); ?>"
				value="<?php echo esc_attr( $field->value ); ?>"
			<?php echo esc_attr( $required ); ?>
		/>
		<input type="text" id="<?php echo esc_attr( $field->id ); ?>" step="<?php echo esc_attr( $step ); ?>"
				value="<?php echo esc_attr( Price::render_price_number( $field->value ) ); ?>"
				min="<?php echo esc_attr( $field->min ); ?>" max="<?php echo esc_attr( $field->max ); ?>"
			<?php echo esc_attr( $required ); ?>
		/>
		<?php
		if ( ! empty( $field->description ) ) {
			?>
			<p class="realpress-description"><?php echo General::ksesHTML( $field->description ); ?></p>
			<?php
		}
		?>
	</div>
</div>

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists