<div class="row">
    <div class="col-lg-12">
        <ol class="breadcrumb">
            <?php      
            $currentAction = '';
            $agregarNuevo = '';
            if($action =='edit'){
                $currentAction = "<li class='active'><i class='fa fa-pencil'></i> ".$_translator->_getTranslation('Editar')."</li>";                
            }elseif($action =='' || $action =='insert'){
                $currentAction = "<li class='active'><i class='fa fa-plus'></i> ".$_translator->_getTranslation('Agregar')."</li>";
            } ?>
            <li><i class="fa fa-dashboard"></i>  <a href="<?php echo ROOT_HOST?>/Controller/Inicio.php"><?php echo $_translator->_getTranslation('Inicio')?></a></li>
            <li class="active"><i class="fa fa-bookmark"></i> <?php echo $_translator->_getTranslation('Empresa')?></li>
            <?php echo $currentAction?>
        </ol>
    </div>
</div>
<div class="row">
    <div class="col-lg-12">
        <div id="flashmessenger"><?php $flashmessenger->showMessage();?></div>
        <div class="box">
            <div class="box-header">       
                <h3><i class='fa-fw fa fa-bookmark'></i><?php echo $_translator->_getTranslation('Empresa');?></h3>
                <div class='box-icon'><i class='icon fa fa-tasks'></i></div>
            </div>
            <div class='box-content'>
                <div class="row"> 
                        <?php 
                            echo $_form->openForm();
                            echo $_form->showActionController();
                            echo $_form->showId();
                            ?>                 
                       <div class="col-lg-6">
                            <div><?php echo $_form->showElement('nombre');?></div>                               
                           <div><?php echo $_form->showElement('direccion');?></div>                               
                           <div><?php echo $_form->showElement('ciudad');?></div> 
                           <div><?php echo $_form->showElement('estado');?></div>  
                           <div><?php echo $_form->showElement('codigopostal');?></div> 
                        </div>
                       <div class="col-lg-6">                                                     
                            <div><?php echo $_form->showElement('nombre_contacto');?></div>
                            <div><?php echo $_form->showElement('telefono');?></div>                            
                            <div><?php echo $_form->showElement('fax');?></div>
                            <div><?php echo $_form->showElement('email');?></div>
                            <div><?php echo $_form->showElement('paginaweb');?></div>    
                       </div>      
                        <div class="clear"></div>
                        <div class="pull-right text-right">
                            <?php $element = $_form->getElement('send'); echo $_form->createOnlyElement($element);?>
                            <?php $element = $_form->getElement('cancelar'); echo $_form->createOnlyElement($element);?>                               
                        </div>
                        <?php echo $_form->closeForm();?>
                    </div>
                </div>
            </div>
        </div>
    </div>
<script type="text/javascript" language="javascript">
     $("#logo_file").fileinput({
        showPreview: false,
        allowedFileExtensions: ['jpg', 'png', 'gif','jpeg'],
        maxFileSize: 1000,
        showUpload:false,
        showRemove:false
    });

</script>