<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Agenda</title>
    <link rel="stylesheet" href="<?=base_url()?>assets/bootstrap/css/bootstrap.min.css">
</head>
<body>
    <div class="container">
        <div class="row justify-content-center mt-2">
            <div class="col-md-5 text-center">
                <h4>Agendar cita</h4>
            </div>
        </div>
        <div class="row justify-content-center mt-2">
            <div class="col-md-8 col-lg-5 border border-secondary pl-5 pr-5 py-4">
                <div class="form-group">
                    <?php if($this->session->flashdata("error")) { ?>
                        <div class="alert alert-danger"><?=$this->session->flashdata('error');?></div>

                    <?php } elseif($this->session->flashdata("success")) { ?>
                        <div class="alert alert-success"><?=$this->session->flashdata('success');?></div>
                    <?php }?>
                </div>
                <div class="form-group">
                    <a href="<?=base_url()?>appointment/" class="btn btn-primary col-12 my-2">
                        Regresar
                    </a>
                </div>
            </div>            
        </div>
    </div>
</body>
</html>