Skip to content

Commit

Permalink
Fix addElements call in CheckNowCommandForm
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes Meyer committed Nov 14, 2014
1 parent 6ee0c21 commit ea56e4f
Showing 1 changed file with 12 additions and 9 deletions.
Expand Up @@ -32,18 +32,21 @@ public function addSubmitButton()
$iconUrl = $this->getView()->href('img/icons/refresh_petrol.png');

$this->addElements(array(
'button',
'btn_submit',
array(
'ignore' => true,
'type' => 'submit',
'value' => mt('monitoring', 'Check now'),
'label' => '<img src="'.$iconUrl.'"> ' . mt('monitoring', 'Check now'),
'decorators' => array('ViewHelper'),
'escape' => false,
'class' => 'link-like'
'button',
'btn_submit',
array(
'ignore' => true,
'type' => 'submit',
'value' => mt('monitoring', 'Check now'),
'label' => '<img src="' . $iconUrl . '"> ' . mt('monitoring', 'Check now'),
'decorators' => array('ViewHelper'),
'escape' => false,
'class' => 'link-like'
)
)
));

return $this;
}

Expand Down

0 comments on commit ea56e4f

Please sign in to comment.