Ejemplo n.º 1
0
 /**
  * @param string $source
  * @param array $attributes
  * @return string
  */
 public function submit_image($t, $src, array $attributes = array())
 {
     return $t->tag('input', Core_Arrays::merge(array('type' => 'image', 'src' => Templates_HTML::helper('assets')->image_path_for($src), 'id' => "{$this->form->name}_form_submit"), $attributes)) . "\n";
 }