{% extends "base.html" %} {% block title %} FQM - {{ ptitle }} {% endblock %} {% block page_content %} {% from "_helpers.html" import render_field %}

{% if update %} {{ translate('Update user', 'en', [defLang]) }} {% else %} {{ translate('Add new user', 'en', [defLang]) }} {% endif %}

{{ form.csrf_token }} {{ render_field(form.name, class="form-control") }} {{ render_field(form.password, class="form-control") }} {{ render_field(form.role, class="form-control") }}

| Admin : {{ translate('has the permissions to access and monitor everything', 'en', [defLang]) }} |

| Monitor : {{ translate('has permissions to monitor and access everything except Administrate', 'en', [defLang]) }} |

| Operator : {{ translate('has limited permissions only to access and monitor the office assigned to', 'en', [defLang]) }} |

{{ render_field(form.offices, class="form-control") }}

{% if update %} {% else %} {% endif %}

{% endblock %}