Commit b56f8b29 authored by Lucas Henrique's avatar Lucas Henrique
Browse files

Adicionando Plano de Trabalho ao editar um projeto sem discente

No related merge requests found
Showing with 40 additions and 0 deletions
+40 -0
...@@ -96,6 +96,46 @@ ...@@ -96,6 +96,46 @@
</div> </div>
@endif @endif
@if ($edital->numParticipantes == 0)
<div class="col-md-3">
<br>
<label for="nomePlanoTrabalho" class="col-form-label font-tam" style="font-weight: bold">{{ __('Título do plano de trabalho: ') }}<span style="color: red; font-weight:bold">*</span></label>
</div>
<div class="col-md-9">
<br>
<input type="text" class="form-control" value="{{old('nomePlanoTrabalho') ?? $proponente->planoTrabalho->titulo ?? "" }}" name="nomePlanoTrabalho" maxlength="255" id="nomePlanoTrabalho" required>
<span style="color: red; font-size: 12px" id="caracsRestantesnomePlanoTrabalho">
</span>
@error('nomePlanoTrabalho')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
<div class="col-md-3">
<br>
<label for="anexoPlanoTrabalho" class="col-form-label font-tam"
style="font-weight: bold">{{ __('Anexo do plano de trabalho: ') }}<span style="color: red; font-weight:bold">*</span></label>
@if ($proponente != null && $proponente->planoTrabalho)
<a style="margin-left: 5px"
href="{{ route('baixar.plano', ['id' => $proponente->planoTrabalho->id]) }}">
<i class="fas fa-file-pdf fa-2x"></i></a>
@else
<p><i class="fas fa-times-circle fa-2x"></i></p>
@endif
</div>
<div class="col-md-9">
<br>
<input type="file" class="input-group-text" value="{{old('anexoPlanoTrabalho') ?? "" }}" name="anexoPlanoTrabalho" accept=".pdf" placeholder="Anexo do Plano de Trabalho" />
@error('anexoPlanoTrabalho')
<span class="invalid-feedback" role="alert" style="overflow: visible; display:block">
<strong>{{ $message }}</strong>
</span>
@enderror
</div>
@endif
<div class="col-md-2"> <div class="col-md-2">
<br> <br>
<label for="conflitosInteresse" class="col-form-label font-tam" <label for="conflitosInteresse" class="col-form-label font-tam"
......
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