{# /** * MSAAA Application Template * * @author Travis Cook (cooktw@missouri.edu), Undergraduate Studies, University of Missouri * @copyright 2017 Curators of the University of Missouri */ #} {% extends ['site-page.html.twig', 'page.html.twig'] %} {% block page_content %}

{{ page.title|striptags('')|raw }}

{% if (page.form_submitted_successfully) %} {% if (page.mail_sent) %}

Thank You!

Your MSAAA Alumni Update has been sent to the Missouri Scholars Academy.

Return to Main MSA Page

{% else %}

Sorry, Your Message Could Not Be Sent!

Some sort of server error has prevented us from sending your message. Please try again later.

Return to Main MSA Page

{% endif %} {% else %}

{{ title|raw }}

All fields are required.

{% if (page.form_errors|length > 0) %}

Please correct the indicated errors, and try again.

{% endif %} {% set form_field_error_message_collection = page.form_errors %} {% set form_field_value_collection = page.form_values %} {% include 'components/form-field.html.twig' with { 'form_field_attribute_name': 'contact_name', 'form_field_label': 'Name', 'form_field_type': 'text' } %} {% include 'components/form-field.html.twig' with { 'form_field_attribute_name': 'address', 'form_field_label': 'Street Address', 'form_field_type': 'address' } %}
{% include 'components/form-field.html.twig' with { 'form_field_attribute_name': 'city', 'form_field_label': 'City', 'form_field_type': 'city' } %}
{% include 'components/form-field.html.twig' with { 'form_field_attribute_name': 'zip_code', 'form_field_label': 'Zip Code', 'form_field_type': 'zip-code' } %}
{% include 'components/form-field.html.twig' with { 'form_field_attribute_name': 'phone', 'form_field_label': 'Phone', 'form_field_type': 'telephone' } %}
{% include 'components/form-field.html.twig' with { 'form_field_attribute_name': 'email', 'form_field_label': 'Email', 'form_field_type': 'email' } %}
{% endif %} {% endblock %}