<?php foreach ($group_actions as $name => $action) { ?> <?php $attributes = array(); ?> <?php if (isset($action['class'])) { ?> <?php $attributes = array('class' => $action['class']); ?> <?php } ?> <?php $attributes['class'] .= ' btn'; ?> <?php echo ext::submit('action[' . $name . ']', $action['title'], arr::get($action, 'confirm'), $attributes); ?> <?php echo Form::submit('action[' . $name . ']', $action['title'], array('style' => 'display: none;')); ?> <?php } ?> <?php echo Ext::buttons_end(); } echo Ext::form_end();