<?php if ($troca_senha !== NULL){ ?>
<!--nova senha-->
<div class="container-form-home">
    <div class="row">
        <div class="col-md-12">
            <div class="content-title">
                <h2>Cadastro de<span>nova senha</span></h2>
                <h3>Insira a senha que deseja utilizar para o seu cadastro no COMDONO.</h3>
            </div>
            <div class="content-title">
            <h2></h2>
            </div>
            <div class="content-form">
                <form id="formNovaSenha" action="" method="post" class="needs-validation">
                    <div class="form-group">
                        <label for="password">Nova Senha</label>
                        <input type="password" name="password" class="form-control" id="password_cad" placeholder="*********" required="required" rel="txtTooltip" title="Use no mínimo 8 caracteres sendo letras maiúsculas, minúsculas, números e símbolos. Assim, seus dados continuam protegidos." data-toggle="tooltip" data-placement="top">
                        <span toggle="#password_cad" class="fa fa-fw fa-eye field-icon toggle-password"></span>
                    </div>
                    <div id="forca_senha"></div>
                    <div class="container-force-password">
                        <div class="row">
                            <div class="col">
                                <div class="row">
                                    <div class="col pr-0"><div class="box-force box-1"></div></div>
                                    <div class="col pr-0"><div class="box-force box-2"></div></div>
                                    <div class="col pr-0"><div class="box-force box-3"></div></div>
                                    <div class="col"><div class="box-force box-4"></div></div>
                                </div>
                            </div>
                            <div class="col">
                                <div class="text">Segurança: <span class="info">Muito fraca</span></div>
                            </div>
                        </div>
                    </div>
                    <div class="form-group mt-4">
                        <label for="conf_password">Confirmar Senha</label>
                        <input type="password" name="conf_password" class="form-control" id="conf_password" placeholder="*********" required>
                        <span toggle="#conf_password" class="fa fa-fw fa-eye field-icon toggle-password"></span>
                    </div>
                    <div id="content-error"></div>
                    <div class="form-group content-btn">
                        <button type="submit" class="btn btn-primary">Confirmar nova senha</button>
                    </div>
                </form>
            </div>
            <div class="content-bottom">
                <div class="form-group">
                    <label class="bodyResult fw-700"></label>
                </div>
            </div>
        </div>
    </div>
</div>
<?php  }else{ ?>
<!--envia email nova senha-->
<div class="container-form-home">
    <div class="row">
        <div class="col-md-12">
            <div class="content-title">
                <h2>Esqueci<span>a senha</span></h2>
                <h3>Não lembra sua senha? É só inserir o e-mail cadastrado abaixo.</h3>
            </div>
            <div class="content-form">
                <form id="formRecuperarSenha" action="" method="post" class="needs-validation">
                    <div class="form-group">
                        <label for="email">E-mail</label>
                        <input type="email" name="email" class="form-control" id="email" placeholder="Endereço de e-mail" required="">
                    </div>
                    <div id="content-error"></div>
                    <div class="form-group content-btn">
                        <button type="submit" class="btn btn-success">Recuperar Senha</button>
                    </div>
                </form>
            </div>
            <div class="content-bottom">
                <div class="bodyResult"></div>
                <div class="form-group">
                    <label class="fw-700">Voltar ao <a href="<?php e(base_url("login")); ?>">Login</a></label>
                </div>
            </div>
        </div>
    </div>
</div>
<?php  } ?>