<form method="post"> <div class="input-group input-group-sm"> <input class="form-control form-control-sm" name="sum" value="<?= $user->baks ?>"> <div class="input-group-append"> <button class="btn btn-success"> Положить </button> </div> </div> </form> <form method="post" class="mt-1"> <div class="input-group input-group-sm"> <input class="form-control form-control-sm" name="sum" value="0"> <div class="input-group-append"> <button class="btn btn-danger"> Снять </button> </div> </div> </form>