<?php $__env->startSection('title', 'Medicos - Cadastrar'); ?>

<?php $__env->startSection('main'); ?>
    <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                Medicos
                <small>Cadastrar</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> Medicos</a></li>
                <li class="active">Cadastrar</li>
            </ol>
        </section>

        <section class="content">
            <div class="row">
                <form method="post">
                    <div class="col-xs-6 col-md-6">
                        <div class="form-group">
                            <label for="nome">Nome:</label>
                            <input type="text" class="form-control" name="nome">
                        </div>

                        <div class="form-group">
                            <label for="nome">Email:</label>
                            <input type="email" name="email" class="form-control">
                        </div>

                        <div class="form-group">
                            <label for="pwd">Senha:</label>
                            <input type="password" class="form-control" name="senha">
                        </div>

                        <div class="form-group">
                            <label for="nome">CRM:</label>
                            <input type="text" class="form-control" name="crm">
                        </div>

                        <div class="form-group">
                            <label for="especialidade">Especialidade:</label>
                            <select class="selectpicker form-control especialidade"
                                    id="especialidade" name="especialidade[]" multiple>
                                <?php $__currentLoopData = $especialidades; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $especialidade): $__env->incrementLoopIndices(); $loop = $__env->getFirstLoop(); ?>
                                    <option value="<?php echo e($especialidade->id_especialidade); ?>"><?php echo e($especialidade->nome); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getFirstLoop(); ?>
                            </select>
                        </div>
                    </div>

                    <div class="col-xs-6 col-md-6">

                        <div class="form-group">
                            <label for="nome">Rua:</label>
                            <input type="text" class="form-control" name="rua">
                        </div>

                        <div class="form-group">
                            <label for="nome">Número:</label>
                            <input type="text" class="form-control" name="numero">
                        </div>

                        <div class="form-group">
                            <label for="nome">Bairro:</label>
                            <input type="text" class="form-control" name="bairro">
                        </div>

                        <div class="form-group">
                            <label for="nome">Cidade:</label>
                            <input type="text" class="form-control" name="cidade">
                        </div>

                        <div class="form-group">
                            <label for="nome">Estado:</label>
                            <input type="text" class="form-control" name="estado">
                        </div>

                        <div class="form-group">
                            <label for="nome">CEP:</label>
                            <input type="number" class="form-control" name="cep">
                        </div>

                        <button type="submit" class="btn btn-default">Cadastrar</button>
                    </div>
                </form>
            </div>
        </section>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('index', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>