latest update

This commit is contained in:
Julian
2022-02-15 12:44:32 +01:00
parent d88b085e4a
commit 35b1b28178
3 changed files with 39 additions and 28 deletions

View File

@@ -207,8 +207,8 @@
outerDiv.style="padding-top: 20px;";
var firstNameDiv = document.createElement("div");
firstNameDiv.classList.add('col-md-6');
firstNameDiv.classList.add('col-sm-6');
firstNameDiv.classList.add('col-md-5');
firstNameDiv.classList.add('col-sm-5');
var formGroupDiv = document.createElement("div");
formGroupDiv.classList.add('form-group');
firstNameDiv.appendChild(formGroupDiv);
@@ -236,8 +236,8 @@
var lastNameDiv = document.createElement("div");
lastNameDiv.classList.add('col-md-6');
lastNameDiv.classList.add('col-sm-6');
lastNameDiv.classList.add('col-md-5');
lastNameDiv.classList.add('col-sm-5');
var lastnameFormGroupDiv = document.createElement("div");
lastnameFormGroupDiv.classList.add('form-group');
lastNameDiv.appendChild(lastnameFormGroupDiv);
@@ -263,6 +263,28 @@
outerDiv.appendChild(lastNameDiv);
let underTwelveDiv = document.createElement("div");
underTwelveDiv.classList.add('col-md-2');
underTwelveDiv.classList.add('col-sm-2');
let underTwelveInnerDiv = document.createElement("div");
underTwelveInnerDiv.classList.add('undertwelve');
let underTwelveLabel = document.createElement("label");
underTwelveLabel.setAttribute("for","undertwelve");
underTwelveLabel.innerHTML = "Unter 12 Jahre?";
underTwelveInnerDiv.appendChild(underTwelveLabel);
let underTwelveInput = document.createElement("input");
underTwelveInput.classList.add('js-undertwelve');
underTwelveInput.setAttribute("type","checkbox");
underTwelveInput.setAttribute("name","undertwelve");
underTwelveInnerDiv.appendChild(underTwelveInput);
underTwelveDiv.appendChild(underTwelveInnerDiv);
outerDiv.appendChild(underTwelveDiv);
container.appendChild(outerDiv);
return false;