doughnut-wedding/app/Resources/views/rsvp_form.html.twig

71 lines
2.1 KiB
Twig
Raw Permalink Normal View History

2017-02-10 21:34:31 -08:00
{% extends 'base.html.twig' %}
{% block body %}
2017-05-05 22:58:26 -07:00
2017-02-10 21:34:31 -08:00
{{ 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 %}