<style>
#map {
    height: 300px;
    width: 100%;
    overflow: hidden;
    float: left;
    }
</style>
<div class="page-content-wrapper">
    <div class="page-content">
        <!-- BEGIN PAGE HEAD -->
        <div class="page-head">
            <!-- BEGIN PAGE TITLE -->
            <div class="page-title">
                <h3>Transportes</h3>
            </div>
            <!-- END PAGE TITLE -->
        </div>
        <?php helper('mensagem');?>
        <!-- Basic Forms -->
        <div class="portlet box blue-hoki">
            <div class="portlet-title">
                <div class="caption">
                    <?php echo isset($transporte->ID_TRANSPORTE) ? 'Edição' : 'Cadastro';?> de transporte
                </div>
                
                <div class="tools">
                    <a href="javascript:;" class="collapse">
                    </a>
                    <a href="javascript:;" class="reload">
                    </a>
                    <a href="javascript:;" class="remove">
                    </a>
                </div>
            </div>
            <div class="portlet-body">
                <div class="row">
                    <div class="col-md-12">
            	        <form novalidate method="POST" action="/Administrativo/Transportes/transportesInserir" id="frmUsuario_cadastro" class="validate" enctype="multipart/form-data">
                        <?= csrf_field() ?>
				            <div class="row">
					            <div class="col-md-6">						
						            <div class="form-group">
                                        <h5>Nome Do Transporte<span class="text-danger">*</span></h5>
                                        <div class="controls">
                                            <input type="hidden" name="id_transporte" value="<?php echo isset($transporte->ID_TRANSPORTE) ? $transporte->ID_TRANSPORTE : '';?>" id="id_transporte">
                                            <input type="text" required class="form-control" name="nome_transporte" id="nome_transporte" value="<?php echo isset($transporte->NOME_TRANSPORTE) ? $transporte->NOME_TRANSPORTE :"";?>">
                                        </div>
						            </div>
                                    
                                </div>    
                            
                            </div>
                            
                            <?php
                                if(!isset($transporte->ID_TRANSPORTE)){ //Se não for edição, possibilita a inclusão do campo senha
                                   
                                }
                            ?>
                            <div class="text-xs-right bt-1 pt-10">
                                <div class="pull-right">
						            <button type="button" id="gravar_usuario" class="btn blue btn-sm"><span class="fa fa-save"> Salvar</span></button>
                                </div>
					        </div> 
                        </form>    
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/template/assets/global/scripts/usuario.js"></script>
