Unverified Commit 5a805a92 authored by GuilhermeGz's avatar GuilhermeGz Committed by GitHub
Browse files

Merge pull request #509 from S-Nathalia/master

Alterações do dia
parents 3daa4e92 3e27f13a
......@@ -31,6 +31,7 @@
<select id="tipo" type="text" class="form-control @error('tipo') is-invalid @enderror" name="tipo" value="{{ old('tipo') }}" required>
<option @if(old('tipo')=='PIBIC' ) selected @endif value="PIBIC">PIBIC</option>
<option @if(old('tipo')=='PIBIC-EM' ) selected @endif value="PIBIC-EM">PIBIC-EM</option>
<option @if(old('tipo')=='PIBIC-AF' ) selected @endif value="PIBIC-AF">PIBIC-AF</option>
<option @if(old('tipo')=='PIBITI' ) selected @endif value="PIBITI">PIBITI</option>
<option @if(old('tipo')=='PIBEX' ) selected @endif value="PIBEX">PIBEX</option>
</select>
......
......@@ -33,6 +33,7 @@
<select id="tipo" type="text" class="form-control @error('tipo') is-invalid @enderror" name="tipo" required>
<option value="PIBIC" {{ $evento->tipo == "PIBIC" ? 'selected' :'' }}>PIBIC</option>
<option value="PIBIC-EM" {{ $evento->tipo == "PIBIC-EM" ? 'selected' :'' }}>PIBIC-EM</option>
<option value="PIBIC-AF" {{ $evento->tipo == "PIBIC-AF" ? 'selected' :'' }}>PIBIC-AF</option>
<option value="PIBITI" {{ $evento->tipo == "PIBITI" ? 'selected' :'' }}>PIBITI</option>
<option value="PIBEX" {{ $evento->tipo == "PIBEX" ? 'selected' :'' }}>PIBEX</option>
</select>
......
......@@ -7,7 +7,7 @@
<div class="card-body">
<div class="container">
<div class="form-row mt-3">
<div class="col-md-12"><h5 style="color: #1492E6; margin-bottom:-0.4rem">Informações do projeto</h5></div>
<div class="col-md-12"><h5 style="color: #1492E6; margin-bottom:-0.4rem">Informações do Projeto</h5></div>
<div class="col-md-12" style="margin-bottom: -0.8rem;"><hr style="border-top: 1px solid#1492E6"></div>
<div class="form-group col-md-12" style="margin-top: 10px">
......
......@@ -13,6 +13,11 @@
<button type="submit" class="btn btn-primary " id="idButtonSubmitRascunho" >{{ __('Salvar como rascunho') }}</button>
<button type="submit" class="btn btn-success" id="idButtonSubmitProjeto" >{{ __('Submeter projeto') }}</button>
</div>
@if($errors->any())
<div class="alert alert-danger">
Verifique se todos os campos obrigatórios/Dados do discente foram preenchidos!
</div>
@endif
</div>
</div>
</div>
......
......@@ -17,7 +17,7 @@
{{ session('mensagem') }}
</div>
@endif
@if ($errors->any())
<!-- @if ($errors->any())
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
......@@ -25,7 +25,7 @@
@endforeach
</ul>
</div>
@endif
@endif -->
<div class="row justify-content-center">
......
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