Nunjucks prüfen Sie, ob in Array

/*---- Nunjucks: Check if value is in Array ---------------------------*/

{% if 'add_user' in user_params %}
   do stuff in html
{% endif %}

/*---------------------------- Nunjucks: Check if value is in Array ---*/
KostasX