|
@@ -130,7 +130,7 @@ class Form {
|
|
|
<div class="row mb-1">
|
|
<div class="row mb-1">
|
|
|
<label class="col-sm-4 col-form-label" for="<?=$id?>"><?=htmlspecialchars($options->label)?></label>
|
|
<label class="col-sm-4 col-form-label" for="<?=$id?>"><?=htmlspecialchars($options->label)?></label>
|
|
|
<div class="col-sm">
|
|
<div class="col-sm">
|
|
|
- <input class="form-control" type="number" name="<?=$options->name?>" id="<?=$id?>" placeholder="<?=htmlspecialchars($placeholder)?>" value="<?=htmlspecialchars($value)?>" <?=$required?> <?=$min?> <?=$max?> <?=$max_length?> />
|
|
|
|
|
|
|
+ <input class="form-control" type="number" name="<?=$options->name?>" id="<?=$id?>" placeholder="<?=htmlspecialchars($placeholder)?>" value="<?=htmlspecialchars($value)?>" step="0.01" <?=$required?> <?=$min?> <?=$max?> <?=$max_length?> />
|
|
|
<?php
|
|
<?php
|
|
|
if($help_text) {
|
|
if($help_text) {
|
|
|
?>
|
|
?>
|