Commit c9ec1e3b authored by Gabriel-31415's avatar Gabriel-31415
Browse files

ajuste

parent 6538730d
...@@ -184,14 +184,14 @@ ...@@ -184,14 +184,14 @@
@component('componentes.input', ['label' => 'Sim, declaro que necessito de autorizações especiais (.pdf)']) @component('componentes.input', ['label' => 'Sim, declaro que necessito de autorizações especiais (.pdf)'])
<input type="file" class="input-group-text" name="anexoAutorizacaoComiteEtica" accept=".pdf" /> <input type="file" class="input-group-text" name="anexoAutorizacaoComiteEtica" accept=".pdf" />
<div class="row justify-content-center"> <div class="row justify-content-center">
@if($projeto->justificativaAutorizacaoEtica || $projeto->anexoAutorizacaoComiteEtica ) @if($projeto->anexoAutorizacaoComiteEtica )
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-3 mt-2"> <div class="col-3 mt-2">
<a href="{{ route('baixar.anexo.comite', ['id' => $projeto->id]) }}"><i class="fas fa-file-pdf fa-2x"></i></a> <a href="{{ route('baixar.anexo.comite', ['id' => $projeto->id]) }}"><i class="fas fa-file-pdf fa-2x"></i></a>
</div> </div>
</div> </div>
@else @else
<div class="col-3 text-danger"> <div class="col-3 text-danger mt-2">
<p><i class="fas fa-times-circle fa-2x"></i></p> <p><i class="fas fa-times-circle fa-2x"></i></p>
</div> </div>
@endif @endif
...@@ -208,14 +208,14 @@ ...@@ -208,14 +208,14 @@
<div class="form-group" id="displayNao" @if($projeto->justificativaAutorizacaoEtica) style="display: block; margin-top:-1rem" @else style="display: none; margin-top:-1rem" @endif > <div class="form-group" id="displayNao" @if($projeto->justificativaAutorizacaoEtica) style="display: block; margin-top:-1rem" @else style="display: none; margin-top:-1rem" @endif >
@component('componentes.input', ['label' => 'Declaração de que não necessito de autorização especiais (.pdf)']) @component('componentes.input', ['label' => 'Declaração de que não necessito de autorização especiais (.pdf)'])
<input type="file" class="input-group-text" name="justificativaAutorizacaoEtica" accept=".pdf" /> <input type="file" class="input-group-text" name="justificativaAutorizacaoEtica" accept=".pdf" />
@if($projeto->justificativaAutorizacaoEtica || $projeto->anexoAutorizacaoComiteEtica ) @if($projeto->justificativaAutorizacaoEtica)
<div class="row justify-content-center"> <div class="row justify-content-center">
<div class="col-3 mt-2"> <div class="col-3 mt-2">
<a href="{{ route('baixar.anexo.justificativa', ['id' => $projeto->id]) }}"><i class="fas fa-file-pdf fa-2x"></i></a> <a href="{{ route('baixar.anexo.justificativa', ['id' => $projeto->id]) }}"><i class="fas fa-file-pdf fa-2x"></i></a>
</div> </div>
</div> </div>
@else @else
<div class="col-3 text-danger"> <div class="col-3 text-danger mt-2">
<p><i class="fas fa-times-circle fa-2x"></i></p> <p><i class="fas fa-times-circle fa-2x"></i></p>
</div> </div>
@endif @endif
......
...@@ -94,6 +94,20 @@ ...@@ -94,6 +94,20 @@
<script> <script>
if(document.getElementById("radioSim").checked){
document.getElementById("radioSim").checked = true;
document.getElementById("radioNao").checked = false;
document.getElementById("displaySim").style.display = "block";
document.getElementById("displayNao").style.display = "none";
document.getElementById("idAvisoAutorizacaoEspecial").style.display = "none";
}else{
document.getElementById("radioSim").checked = false;
document.getElementById("radioNao").checked = true;
document.getElementById("displaySim").style.display = "none";
document.getElementById("displayNao").style.display = "block";
document.getElementById("idAvisoAutorizacaoEspecial").style.display = "none";
}
let buttonSubmit = document.getElementById('idButtonSubmitProjeto'); let buttonSubmit = document.getElementById('idButtonSubmitProjeto');
let parts = document.getElementById('participante'); let parts = document.getElementById('participante');
let partsFirst = document.getElementById('participanteFirst'); let partsFirst = document.getElementById('participanteFirst');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment