<!-- Sidebar -->
<?php $this->load->view('restricted/layout/sidebar_admin'); ?>
<!-- Sidebar -->

<div id="content-wrapper" class="d-flex flex-column">
    <div id="content">

        <!-- NavBar -->
        <?php $this->load->view('restricted/layout/navbar'); ?>
        <!-- Navbar -->

        <!-- Container Fluid-->
        <div class="container-fluid" id="container-wrapper">
            <div class="d-sm-flex align-items-center justify-content-between mb-4">
                <h1 class="h3 mb-0 text-gray-800"><?php echo $title; ?></h1>
                <ol class="breadcrumb">
                    <li class="breadcrumb-item"><a href="./">Home</a></li>
                    <li class="breadcrumb-item active" aria-current="page"><?php echo $title; ?></li>
                </ol>
            </div>

            <div class="row">
                <div class="col-lg-6 align-items-center">
                    <!-- Form Basic -->
                    <div class="card mb-4">
                        <div class="card-header py-3 d-flex flex-row align-items-center justify-content-between">
                            <h6 class="m-0 font-weight-bold text-primary">Enviar email de notificação</h6>
                        </div>
                        <div class="card-body">

                            <?php echo form_open('restricted/email/send'); ?>
                                <div class="form-group">
                                    <label for="to">Email </label>
                                    <input type="email" class="form-control" name="to" id="to" aria-describedby="emailHelp" placeholder="Digite o email do destinatário">
                                </div>
                                <div class="form-group">
                                    <label for="subject">Assunto</label>
                                    <input type="text" class="form-control" name="subject" id="subject" placeholder="Assunto">
                                </div>
                                <div class="form-group">
                                    <label for="message">Mensagem</label>
                                    <textarea class="form-control" name="message" id="message" rows="10"></textarea>
                                </div>
                                <button type="submit" class="btn btn-primary">Enviar</button>
                            <?php echo form_close(); ?>
                        </div>
                    </div>
                </div>
            </div>
            <!--Row-->


            <!-- Modal Logout -->
            <?php $this->load->view('restricted/layout/modal_logout'); ?>
            <!-- /Modal -->

        </div>
        <!--- /Container Fluid-->
    </div><!-- /Content -->