public function renderFields($locale)
    {
        $entity = $this->entities[$locale];
        if (isset($this->request)) {
            $entity->valid();
        }

        $html = $entity->render();

        return $html;
    }
public function renderFields($locale)
    {
        $entity = $this->entities[$locale];
        if (isset($this->request)) {
            $entity->valid();
        }

        $html = $entity->render();

        return $html;
    }
public function renderFields ( $ locale ) { $ entity = $ this -> entities [ $ locale ] ; if ( isset ( $ this -> request ) ) { $ entity -> valid ( ) ; } $ html = $ entity -> render ( ) ; return $ html ; }
Render by locale.

@param $locale

@return mixed
Render by locale .