{% extends 'user/form.html.twig' %} {% import "macros/widgets.html.twig" as widgets %} {% block form_body %}
{{ 'kiosk.barcode_type'|trans }} | {{ 'Code'|trans }} | {{ 'active'|trans }} | {{ 'actions'|trans }} |
---|---|---|---|
{{ name }} |
{% if encoder.barcode %}
{{ userAuth.code }} {% else %}{{ userAuth.code }} {% endif %} {% if userAuth.activity is not null %}{{ 'activity'|trans }}: {{ widgets.label_activity(userAuth.activity) }} > {{ widgets.label_project(userAuth.activity.project) }} > {{ widgets.label_customer(userAuth.activity.project.customer) }} {% endif %} |
{{ widgets.label_boolean(type in enabled) }} | {{ icon('edit') }} {{ icon('trash') }} |