示例#1
0
}
?>
    </section>

    <section class="three columns omega">
        <div id="save" class="panel">
            <input type="submit" class="big green button" value="<?php 
echo __('Save Changes');
?>
">
        </div>
    </section>

    <?php 
$hash = new Zend_Form_Element_Hash('batch_edit_hash');
$hash->removeDecorator('Label');
$hash->removeDecorator('HtmlTag');
echo $hash;
?>
</form>

</div>
<script type="text/javascript">
    jQuery(document).ready(function(){
        var otherFormElements = jQuery('#item-fields select, #item-fields input');
        var elementsToEnable;
        jQuery('#delete').change(function() {
            if (this.checked) {
                elementsToEnable = otherFormElements.filter(':enabled');
                otherFormElements.prop('disabled', true);
            } else {