{% extends "Global/layout.html.twig" %} {% set pagetitle = 'Add a new language' | trans %} {% if language.id %}{% set pagetitle = 'Update the language' | trans %}{% endif %} {% block title %}{{pagetitle}}{% endblock %} {% block content %} {% set navigation = [{ "dashboard_index": ('Dashboard' | trans), "dashboard_administrator_language": ('Manage languages' | trans), "current":(pagetitle) }] %} {% include "Global/navigation.html.twig" with navigation %} {{ form_start(form, {'attr': {'novalidate': 'novalidate'}}) }} {{ form_widget(form) }} {{ form_end(form) }} {% endblock %}