71 lines
2.1 KiB
Twig
71 lines
2.1 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
|
|
{% block body %}
|
|
{{ dump(app.session.get('user')) }}
|
|
{{ form_start(form) }}
|
|
<fieldset class="uk-fieldset uk-margin-large-bottom">
|
|
<legend class="uk-legend">RSVP!</legend>
|
|
|
|
<div class="uk-margin">
|
|
{{ form_label(form.firstname) }}
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
{{ form_errors(form.firstname) }}
|
|
{{ form_widget(form.firstname) }}
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin">
|
|
{{ form_label(form.lastname) }}
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
{{ form_errors(form.lastname) }}
|
|
{{ form_widget(form.lastname) }}
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin">
|
|
{{ form_label(form.email) }}
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
{{ form_errors(form.email) }}
|
|
{{ form_widget(form.email) }}
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin">
|
|
{{ form_label(form.plainPassword) }}
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
{{ form_errors(form.plainPassword) }}
|
|
{{ form_widget(form.plainPassword) }}
|
|
</div>
|
|
</div>
|
|
<div class="uk-grid-auto" uk-grid>
|
|
<div class="uk-margin">
|
|
{{ form_label(form.rsvp) }}
|
|
<div class="uk-form-controls uk-form-controls-text">
|
|
{{ form_errors(form.rsvp) }}
|
|
{{ form_widget(form.rsvp) }}
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin">
|
|
<div class="uk-h4">
|
|
({{ count }} spots available.)
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin">
|
|
{{ form_label(form.familyside) }}
|
|
<div class="uk-form-controls">
|
|
{{ form_errors(form.familyside) }}
|
|
{{ form_widget(form.familyside) }}
|
|
</div>
|
|
</div>
|
|
<div class="uk-margin uk-align-left@m">
|
|
{{ form_errors(form.family) }}
|
|
{{ form_label(form.family) }}
|
|
{{ form_widget(form.family) }}
|
|
|
|
</div>
|
|
<div class="uk-margin uk-align-right@m">
|
|
<input type="submit" class="uk-button-primary uk-button uk-button" value="Save" />
|
|
</div>
|
|
</fieldset>
|
|
{{ form_rest(form) }}
|
|
{{ form_end(form) }}
|
|
{% endblock %} |