{% extends 'template.html.twig' %} {% block title %} New Employee - {{ parent() }}{% endblock %} {% block body %}

Employee

{% for message in app.flashes('notice') %}
× {{ message }}
{% endfor %} {% for message in app.flashes('warning') %}
× {{ message }}
{% endfor %}
Create new Employee
{{ form_start(form) }}
{{ form_row(form.employeePin) }}
{{ form_row(form.name) }}
{{ form_row(form.department) }}
{{ form_row(form.designation) }}
{{ form_row(form.joiningDate) }}
{{ form_row(form.fatherName) }}
{{ form_row(form.motherName) }}
{{ form_row(form.gender) }}
{{ form_row(form.maritalStatus) }}
{{ form_row(form.permanentAddress) }}
{{ form_row(form.presentAddress) }}
{{ form_row(form.bloodGroup) }}
{{ form_row(form.birthDate) }}
{{ form_row(form.email) }}
{{ form_row(form.ccEmail) }}
{{ form_row(form.company) }}
{{ form_row(form.inactive) }}
{{ form_widget(form.createNew, {label: ' Save and create new', attr: {class: 'btn btn-primary'}}) }}
{{ form_end(form) }}
{% endblock %}