summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--app/view/formctrl.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/view/formctrl.php b/app/view/formctrl.php
index b8643b0..131b0de 100644
--- a/app/view/formctrl.php
+++ b/app/view/formctrl.php
@@ -24,7 +24,7 @@ namespace formctrl;
bool $required = true, bool $disabled = false) : void { ?>
<div class="form-group">
- <label><?=$label?></label>
+ <label class="control-label"><?=$label?></label>
<input type="text" name="input[<?=$name?>]" value="<?=$value?>" placeholder="<?=$placeholder?>" class="form-control" <?=($required ? "required" : "")?> <?=($disabled ? "disabled" : "")?> maxlength="64" />
</div>
@@ -32,7 +32,7 @@ namespace formctrl;
<?php function password(string $label, string $name, bool $required = true) : void {?>
<div class="form-group">
- <label><?=$label?></label>
+ <label class="control-label"><?=$label?></label>
<input type="password" name="input[<?=$name?>]" class="form-control" <?=($required ? "required" : "")?> />
</div>