Пример #1
0
 protected function renderCaption($confirmation = false)
 {
     //Use a div tag instead of a label, as we will be using labels for the individual options
     ob_start();
     parent::renderCaption($confirmation);
     $output = ob_get_clean();
     $output = str_replace('<label', '<div', $output);
     $output = str_replace('</label>', '</div>', $output);
     echo $output;
 }
Пример #2
0
 protected function renderCaption($confirmation = false)
 {
     if (!$this->field->image) {
         parent::renderCaption($confirmation);
     }
 }