Commit 643fc42a authored by Gabriel-31415's avatar Gabriel-31415
Browse files

status

parent a33eecb4
......@@ -3,7 +3,7 @@
@endphp
<div class="form-group">
<label class=" control-label {{ $class }}" for="firstname">{{ $label }}<span style="color: red; font-weight:bold">*</span></label>
<div class="col-sm-5">
<div class="">
{{ $slot }}
</div>
</div>
......@@ -65,12 +65,17 @@
let buttonMais = document.getElementById('buttonMais');
let buttonMenos = document.getElementById('buttonMenos');
let buttonForm = document.getElementById('buttonForm');
let buttonSubmit = document.getElementById('idButtonSubmitProjeto');
let parts = document.getElementById('participante');
// let buttonRemover = document.getElementById('buttonRemover');
const participante = parts.firstElementChild;
let contador = 2;
// var validator = $( "#formPart" ).validate();
buttonSubmit.addEventListener('click', (e)=>{
$('.collapse').addClass('show')
})
function gerarPeriodo(e){
var select = e.parentElement.parentElement.nextElementSibling;
selectPeriodos = select.children[0].children[1];
......@@ -174,10 +179,11 @@
}
});
$.validator.setDefaults( {
submitHandler: function () {
$('.collapse').collapse()
alert( "submitted!" );
}
} );
......
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