diff options
| author | Malf Furious <m@lfurio.us> | 2018-09-15 21:57:09 -0400 | 
|---|---|---|
| committer | Malf Furious <m@lfurio.us> | 2018-09-15 21:57:09 -0400 | 
| commit | 1eef7c438b236d57da16e7cccee7f182e440e8b1 (patch) | |
| tree | a6d946aaf0b5078035e791643c937e1a4c5beab5 | |
| parent | 323576a594f20485e25c55dd52a5356cb209479c (diff) | |
| download | scrott-1eef7c438b236d57da16e7cccee7f182e440e8b1.tar.gz scrott-1eef7c438b236d57da16e7cccee7f182e440e8b1.zip | |
Form ctrls should use the 'control-label' class
| -rw-r--r-- | app/view/formctrl.php | 4 | 
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> | 
