{% extends 'base.html.twig' %} {% block body %} {{ block('nav', 'internal/libs/nav.html.twig') }} {{ block('topnav', 'internal/libs/top-nav.html.twig') }} Update User {{ form_errors(form) }} {{ form_start(form) }} Name Email Case Worker Therapist Case Manager Admin Level {% for l in enum('App\\Enums\\CaseLevel').cases() %} {% set selected = (l.value == data.level.value) %} {{ l.name }} {% endfor %} Rate Type {% for rt in enum('App\\Enums\\RateType').cases() %} {% set selected = (rt.value == data.rateType.value) %} {{ rt.name }} {% endfor %} Rate Save {{ form_end(form) }} {% endblock %}