<div class="w3-row-padding w3-hover-green w3-hover-teal w3-hover-text-sand w3-round w3-round-large w3-animate-opacity">{{ form_start(form) }}<div class="w3-third w3-padding w3-panel w3-hover-green w3-animate-left"><h3 class="w3-panel w3-red w3-round-large w3-hover-green w3-animate-zoom">{% trans %}Generals informations{% endtrans %}</h3>{{ form_row(form.sex) }}{{ form_row(form.dateOfBirth) }}{{ form_row(form.hospital) }}{{ form_row(form.otherContact) }}</div><div class="w3-third w3-padding w3-panel w3-hover-red w3-round w3-animate-input w3-animate-top" ><h3 class="w3-panel w3-red w3-round-large w3-hover-green w3-animate-left">{% trans %}Father Informations{% endtrans %}</h3>{{ form_row(form.nameOfTheFather) }}{{ form_row(form.fatherContact) }}{{ form_row(form.fatherSEmail) }}{{ form_row(form.fatherSResidence) }}</div><div class="w3-third w3-padding w3-panel w3-hover-yellow w3-round-large w3-animate-right" ><h3 class="w3-panel w3-red w3-round-large w3-hover-green w3-animate-bottom">{% trans %}Mother Informations{% endtrans %}</h3>{{ form_row(form.nameOfTheMother) }}{{ form_row(form.motherContact) }}{{ form_row(form.motherSEmail) }}{{ form_row(form.motherSResidence) }}</div></div><div class='w3-row'><div class='w3-half w3-hover-teal w3-round-large w3-padding'><label for='temoin'>{% trans %}Single{% endtrans %}</label><input type='checkbox' onclick="myFunction('Demo1')"><span class="w3-text w3-text-light-gray ">{% trans %}Do not check if you are married{% endtrans %}</span></div><div class='w3-half w3-padding w3-hover-teal w3-round-large'><label for='temoin'>{% trans %}Complete certificate{% endtrans %}</label><input type='checkbox' onclick="myFunction('demo2')"><span class="w3-text w3-text-light-gray ">{% trans %}Check only if you have furthersinformations about certificate{% endtrans %}</span></div> <br><div class="w3- w3-padding w3-panel w3-hover-red w3-round w3-animate-input w3-animate-top w3-container w3-hide" id="Demo1"><h3 class="w3-panel w3-red w3-round-large w3-hover-green w3-animate-left">{% trans %}Birth Witnesses(Only if not Married){% endtrans %}</h3><div class='w3-half w3-padding'>{{ form_row(form.firstWitness) }}{{ form_row(form.firstWitnessNic) }}{{ form_row(form.firstWitnessPhoneNumber) }}</div><div class='w3-half w3-padding'>{{ form_row(form.secondWitness) }}{{ form_row(form.secondWitnessNic) }}{{ form_row(form.secondWitnessPhoneNumber) }}</div></div></div><div class="w3-hide" id="demo2"><div >{% set i=0 %}{% for item in form %}{% if i%3==0 %}</div><div class='row w3-padding'>{% endif %}{% if item.rendered==0 and item.vars.name!='token' %}<div class="w3-third w3-padding w3-hover-teal w3-round-large w3-animate-right" >{{ form_row(item) }}{% set i= i+1 %}</div>{% endif %}{% endfor %}</div></div>{% if app.request.attributes.get('_route') == 'child_dec' %}<button class="w3-btn w3-center w3-large ">{{ button_label|default('Save'|trans) }}</button>{% endif %}{#{ form_widget(form) }#}<button class="w3-btn w3-center w3-large ">{{ button_label|default('Save a birth certificate'|trans) }}</button>{{ form_end(form) }}<script>function myFunction(id) {var x = document.getElementById(id);if (x.className.indexOf("w3-show") == -1) {x.className += " w3-show";} else {x.className = x.className.replace(" w3-show", "");}}</script>