Initial commit
This commit is contained in:
24
playarea/templates/help_window/range.php
Normal file
24
playarea/templates/help_window/range.php
Normal file
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
$attribute_name = $variables["attribute_name"];
|
||||
$attribute_slug = $variables["attribute_slug"];
|
||||
|
||||
$max_range = $variables["max_range"];
|
||||
$min_range = $variables["min_range"];
|
||||
|
||||
?>
|
||||
<div class="mt-2 d-flex align-items-center justify-content-between">
|
||||
<div class="col-6 row align-items-center">
|
||||
<p class="choose-popup__key col-auto"><?= $attribute_name; ?></p>
|
||||
</div>
|
||||
<div class="col-6 choose-popup__group row align-items-center justify-content-between">
|
||||
<span class="col-6 p-0 m-0 row align-items-center">
|
||||
<label for="power_start" class="col-auto">от</label>
|
||||
<input id="power_start" type="text" class="col" placeholder="<?= $min_range; ?>" name="<?= $attribute_slug; ?>_start">
|
||||
</span>
|
||||
<span class="col-6 p-0 m-0 row align-items-center">
|
||||
<label for="power_end" class="col-auto">до</label>
|
||||
<input id="power_end" type="text" class="col" placeholder="<?= $max_range; ?>" name="<?= $attribute_slug; ?>_end">
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user