Create area-input.php
This commit is contained in:
parent
4b8fc83816
commit
2124feb7b2
16
templates/search-box/fields/area-input.php
Normal file
16
templates/search-box/fields/area-input.php
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
<label class="opalestate-label opalestate-label--price-input"><?php esc_html_e( 'Area', 'opalestate-pro' ); ?></label>
|
||||||
|
<div class="opalestate-price-input-wrap">
|
||||||
|
<div class="opalestate-price-input opalestate-price-input--min">
|
||||||
|
<input class="form-control" type="number" name="min_area" value="<?php echo esc_attr( $data['input_min'] ); ?>" placeholder="<?php esc_attr_e( 'Min Area', 'opalestate-pro' ); ?>">
|
||||||
|
<span class="opalestate-price-currency"><?php echo esc_html( $data['unit'] ); ?></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="opalestate-price-input-separator">
|
||||||
|
<span><?php echo esc_html_x( '-', 'price input separator', 'opalestate-pro' ); ?></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="opalestate-price-input opalestate-price-input--max">
|
||||||
|
<input class="form-control" type="number" name="max_area" value="<?php echo esc_attr( $data['input_max'] ); ?>" placeholder="<?php esc_attr_e( 'Max Area', 'opalestate-pro' ); ?>">
|
||||||
|
<span class="opalestate-price-currency"><?php echo esc_html( $data['unit'] ); ?></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user