{% extends "base.html" %} {% block title %}{% if is_edit %}Edit Employee | PMS{% else %}Add Employee | PMS{% endif %}{% endblock %} {% block extra_css %} {% endblock %} {% block content %} {% if is_edit %}Edit Employee{% else %}Add Employee{% endif %} Capture employee details, technologies and project assignments. Back to Team {{ errors.general }} {% csrf_token %} Employee Details Full Name {{ errors.full_name }} Employee Code {{ errors.employee_code }} Official Email {{ errors.official_email }} Mobile Number {{ errors.mobile_number }} Department - Select Department - {% for dept in departments %} {{ dept.name }} {% endfor %} {{ errors.department }} Designation Select Department First {% for desig in designations %} {{ desig.name }} {% endfor %} {{ errors.designation }} Experience (years and months) {% for y in experience_year_options %} {% if y == "15_plus" %}15+ years{% else %}{{ y }} year{% if y != "1" %}s{% endif %}{% endif %} {% endfor %} {% for m in experience_month_options %} {{ m }} month{% if m != "1" %}s{% endif %} {% endfor %} {{ errors.total_experience }} Technologies Known Select Technologies {% for tech in technologies %} {{ tech.name }} {% endfor %} {{ errors.technologies }} Projects Worked On {% if is_edit %} {% for pa in assignments %} Project Assignment {{ forloop.counter }} Project - Select Project - {% for proj in projects %} {{ proj.name }} {% endfor %} Role in Project - Select Role - {% for role in roles %} {{ role.name }} {% endfor %} Hours Worked Clicking the project name on the employee detail page will open that project. {% endfor %} {% else %} {# Default empty card for new employee #} Project Assignment 1 Project - Select Project - {% for proj in projects %} {{ proj.name }} {% endfor %} Role in Project - Select Role - {% for role in roles %} {{ role.name }} {% endfor %} Hours Worked {% endif %} Add Another Project {% if is_edit %}Save Changes{% else %}Save Employee{% endif %} Cancel {% endblock %} {% block extra_js %} {% endblock %}
Capture employee details, technologies and project assignments.
Clicking the project name on the employee detail page will open that project.