{% extends 'admin/base.html.twig' %} {% block title %}{% if major.code %}{{ major.name }}{% else %}New Major{% endif %} | Admin | Universities.com{% endblock %} {% block body %}

{% if major.code %}{{ major.name }}{% else %}New Major{% endif %}

{% if app.session.flashbag.peek('success')|length > 0 %}
{% for message in app.flashes('success') %} {% endfor %}
{% endif %}
{{ form_start(form) }} {{ form_widget(form) }} {{ form_end(form) }}
{% endblock %} {% block stylesheets %} {{ parent() }} {% endblock %} {% block scripts %} {{ parent() }} {% endblock %}