Commit 4052a7d0 authored by Bruno Meyer's avatar Bruno Meyer 😢

Merge branch 'Checkbox_grupos' into 'master'

radio em vez de checkbox

See merge request !24
parents 1ff3bba8 89050f39
......@@ -34,9 +34,9 @@
<label for="grupo">Grupo</label>
<input id="grupo" name="grupo" type="checkbox" value=1 class="pure-input-rounded" checked> Normal
<input id="grupo_1" name="grupo" type="radio" value=1 class="pure-input-rounded"> Grupo 1 (Normal)
<input id="grupo" name="grupo" type="checkbox" value=2 class="pure-input-rounded"> Meditaçao
<input id="grupo_2" name="grupo" type="radio" value=2 class="pure-input-rounded"> Grupo 2 (Meditaçao)
......@@ -98,7 +98,16 @@ function iniciar(){
document.getElementById("FormularioTutorial").style.display = "none";
document.getElementById("corpo").style.display = "inline";
data.nome = document.getElementById("nome").value;
data.grupo = document.getElementById("grupo").value;
var grupo = "Sem Grupo";
grupo = 1;
grupo = 2;
data.grupo = grupo;
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