<!-- Modal -->
<div id="modalSendReportToMail" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <form name="formMail">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                    <h3 id="myModalLabel"><?php echo $_translator->_getTranslation('Enviar por mail')?></h3>
                </div>
                <div class="modal-body">            
                    <div><?php $form->showElement('optionsFromGet');?></div>
                    <div><?php $form->showElement('to');?></div>
                    <div><?php $form->showElement('subject');?></div>
                    <div><?php $form->showElement('message');?></div>
                </div>
                <div class="modal-footer">
                    <div><?php $form->showElement('sendMail');?></div>
                </div>
            </form>
        </div>
    </div>
</div>
<script type="text/javascript">
    $('#to').select2();
</script>
<!-- Fin Modal -->