<?php

/**
 * @var Pongho\Form\Fieldset $field
 * @var Application\Core\I18n\Translation\Translator $translator
 * @var Pongho\Form\BaseField $subfield
 */

?>
<?php echo $field->getStartCode(); ?>
<div id="filter-actions" class="bckl">
    <button id="run-filter" class="pongho-field pongho-button primary" name="run">
        <?php echo $translator->trans('Execute'); ?>
    </button>

    <button id="new-filter" type="button" name="new" class="pongho-field pongho-button">
        <?php echo $translator->trans('New filter'); ?>
    </button>
</div>
<div id="filter-save" class="bckr">
    <?php foreach ($field->getFields() as $subfield): ?>
        <?php echo $subfield->getTag(); ?>
    <?php endforeach; ?>

    <button id="save-filter" type="button" name="submit" class="pongho-field pongho-button">
        <?php echo $translator->trans('Save'); ?>
    </button>
</div>
<?php echo $field->getEndCode(); ?>
