src/Ease/Html/InputContainer.php
public function addLabel($label = null)
    {
        $forID = $this->lastItem->getTagID();
        if (is_null($label)) {
            $label = $forID;
        }
        $this->addItem('<label for="'.$forID.'">'.$label.'</label>');
    }
public function addLabel($label = null)
    {
        $forID = $this->lastItem->getTagID();
        if (is_null($label)) {
            $label = $forID;
        }
        $this->addItem('<label for="'.$forID.'">'.$label.'</label>');
    }
Doplní popisek prvku.

@param string $label text popisku