@extends('layouts.app') @section('content')
Enviar Projeto
{{-- @if($errors->any())

{{ $errors}}

@endif --}}

@csrf {{-- Nome do Projeto --}}
@error('nomeProjeto') {{ $message }} @enderror
{{-- Grande Area --}}
@error('grandeArea') {{ $message }} @enderror
@error('area') {{ $message }} @enderror
@error('subArea') {{ $message }} @enderror

Coordenador

{{-- Coordenador --}}
user()->proponentes != null && Auth()->user()->proponentes->linkLattes != null) value="{{ Auth()->user()->proponentes->linkLattes }}" @else value="" @endif > @error('linkLattesEstudante') {{ $message }} @enderror
@error('pontuacaoPlanilha') {{ $message }} @enderror
@error('linkGrupo') {{ $message }} @enderror

Anexos

{{-- Anexo do Projeto --}}
{{-- Arquivo --}}
@if(old('anexoProjetoPreenchido') != null || (isset($rascunho) && $rascunho->anexoProjeto != "")) Arquivo atual @endif anexoProjeto != "") value="sim" @else value="{{old('anexoProjetoPreenchido')}}" @endif >
@error('anexoProjeto') {{ $message }} @enderror
@if(old('anexoLattesPreenchido') != null || (isset($rascunho) && $rascunho->anexoLattesCoordenador != "")) Arquivo atual @endif anexoLattesCoordenador != "") value="sim" @else value="{{old('anexoLattesPreenchido')}}" @endif >
@error('anexoLattesCoordenador') {{ $message }} @enderror
@error('botao') {{ $message }} @enderror
@if(old('anexoComitePreenchido') != null || (isset($rascunho) && $rascunho->anexoAutorizacaoComiteEtica != "" && $rascunho->anexoAutorizacaoComiteEtica != null)) Arquivo atual @endif anexoAutorizacaoComiteEtica != "") value="sim" @else value="{{old('anexoComitePreenchido')}}" @endif >
@error('anexoComiteEtica') @enderror
@if(old('anexoPlanilhaPreenchido') != null || (isset($rascunho) && $rascunho->anexoPlanilhaPontuacao != "")) Arquivo atual @endif anexoPlanilhaPontuacao != "") value="sim" @else value="{{old('anexoPlanilhaPreenchido')}}" @endif >
@error('anexoPlanilha') {{ $message }} @enderror @error('anexoPlanilhaPontuacao') {{ $message }} @enderror
@if(old('anexoJustificativaPreenchido') != null || (isset($rascunho) && $rascunho->justificativaAutorizacaoEtica != "" && $rascunho->justificativaAutorizacaoEtica != null)) Arquivo atual @endif justificativaAutorizacaoEtica != "") value="sim" @else value="{{old('anexoJustificativaPreenchido')}}" @endif >
@error('justificativaAutorizacaoEtica') @enderror
@if($edital->tipo == 'PIBIC' || $edital->tipo == 'PIBIC-EM') {{-- Decisão do CONSU --}}
@if(old('anexoConsuPreenchido') != null || (isset($rascunho) && $rascunho->anexoDecisaoCONSU != "" && $rascunho->anexoDecisaoCONSU != null)) Arquivo atual @endif anexoDecisaoCONSU != "") value="sim" @else value="{{old('anexoConsuPreenchido')}}" @endif >
@error('anexoCONSU') {{ $message }} @enderror
@endif

Participantes

{{-- Participantes --}}
@php $countParticipante = 1; @endphp @if(old('countParticipante') != null) @php $countParticipante = old('countParticipante') @endphp @endif @if ($countParticipante != null && $countParticipante > 0) @for ($i = 0; $i < $countParticipante; $i++) {{-- inicio do card --}} {{--
--}}

Dados do participante

@error('nomeParticipante.'.$i) {{ $message }} @enderror
@error('emailParticipante') {{ $message }} @enderror
@error('funcaoParticipante') {{ $message }} @enderror
Possui plano de trabalho?
@if($i != 0) Remover participante @endif
{{--
--}} {{-- inicio do card --}} @endfor @endif
Adicionar participante

@if (Auth()->user()->administradors != null) Cancelar @else Cancelar @endif
@endsection @section('javascript') @endsection