1. Christoffer Niska
  2. yii-bootstrap
Issue #277 new

Changin some html tage places in TbInput

sajjad shahcheraghean
created an issue

Hi there. According to my orientation of my language support, I need to change tage label and input which are generated by TbInput class. Now how can do that? I found the method

protected function textArea()
    {
        echo $this->getLabel();
        echo $this->form->textArea($this->model, $this->attribute, $this->htmlOptions);
        echo $this->getError().$this->getHint();
    }

But when i change the $this->getLabel() like:

protected function textArea()
    {
        echo $this->form->textArea($this->model, $this->attribute, $this->htmlOptions);
        echo $this->getLabel();
        echo $this->getError().$this->getHint();
    }

Nothing happen in the render?!

Comments (0)

  1. Log in to comment