<!DOCTYPE html>
<html lang="pt-br">

<head>
    <% include ("../elementos/head") %>
</head>

<body>
    <div class="container bg-primary-subtle rounded border border-info mx-auto m-2">
        <% include ("../elementos/menu") %>
    </div>

    <div class=" p-3 mt-2 container bg-primary-subtle rounded border border-info mx-auto m-2 ">
        <p class="text-center">Formul√°rio para Adicionar Novas Noticias</p>

        <% if(!locals.cadOK){ %>

        <form action="formulario_inclusao_noticias" method="post">
            <div class="mb-3">
                <label for="titulo" class="form-label">Titulo Noticia</label>
                <input type="text" class="form-control" name="titulo" id="titulo">
            </div>
            <div class="mb-3">
                <label for="noticia" class="form-label">Informe Noticia</label>
                <textarea class="form-control" name="noticia" id="noticia" rows="3"></textarea>
            </div>
            <div class="mb-3">
                <input type="submit" class="btn btn-primary" value="Enviar Noticias">
            </div>
        </form>
        <% }else{ %>
            <p>Cadastro realizado</p>
        <%} %>
    </div>
    <% include ("../elementos/footer") %>
</body>

</html>