{% extends 'base.html.twig' %}
{% block title %}Request a Demo | CogniEdu{% endblock %}
{% block body %}
<div class="container" style="max-width: 820px; margin: 30px auto; padding: 0 16px;">
<h1>Request a Demo</h1>
<p>Tell us a little about your institution and what you'd like to evaluate. We'll follow up to schedule a demo.</p>
{% for label, messages in app.flashes %}
{% for message in messages %}
<div style="padding:10px 12px; margin:12px 0; border:1px solid #ddd; border-radius:8px;">
{{ message }}
</div>
{% endfor %}
{% endfor %}
{{ form_start(form) }}
<div style="margin-bottom:14px;">
{{ form_label(form.institution) }}
{{ form_widget(form.institution, { attr: { class: 'form-control' } }) }}
{{ form_errors(form.institution) }}
</div>
<div style="margin-bottom:14px;">
{{ form_label(form.role) }}
{{ form_widget(form.role, { attr: { class: 'form-control' } }) }}
{{ form_errors(form.role) }}
</div>
<div style="margin-bottom:14px;">
{{ form_label(form.name) }}
{{ form_widget(form.name, { attr: { class: 'form-control' } }) }}
{{ form_errors(form.name) }}
</div>
<div style="margin-bottom:14px;">
{{ form_label(form.email) }}
{{ form_widget(form.email, { attr: { class: 'form-control' } }) }}
{{ form_errors(form.email) }}
</div>
<div style="margin-bottom:14px;">
{{ form_label(form.phone) }}
{{ form_widget(form.phone, { attr: { class: 'form-control' } }) }}
{{ form_errors(form.phone) }}
</div>
<div style="margin-bottom:14px;">
{{ form_label(form.message) }}
{{ form_widget(form.message, { attr: { class: 'form-control' } }) }}
{{ form_errors(form.message) }}
</div>
<button class="btn btn-danger btn-lg" type="submit">Submit Demo Request</button>
{{ form_end(form) }}
</div>
{% endblock %}