<h2>The [% yapc_name %] Conference Surveys</h2>
[% IF data.submitted %]
<div class="newsbox intro">
<p>You have already completed your survey. As the survey results are recorded
anonymously, we are unable to retrieve your original survey, and thus are
unable to enable you to amend your response. Apologies for any inconvenience.</p>
<p>Return to the <a href="/">survey index</a>.</p>
<p>
Best regards,<br />
[% yapc_host %]<br />
[% yapc_city %]</p>
</div>
[% ELSIF data.thanks == 1 %]
<div class="newsbox intro">
<p>Many thanks for completing this survey.</p>
<p>For an announcement of when the survey results are published, please check
the usual Perl news outlets or the <a href="http://yapc-surveys.org">YAPC
Conference Surveys</a> website.</p>
<p>You will be redirected in a few seconds. If this does not happen, please <a href="/?thanks=2">click here</a> to return to the <a href="/">survey index</a>.</p>
<p>
Best regards,<br />
[% yapc_host %]<br />
[% yapc_city %]</p>
</div>
[% redirect = '/?thanks=2' %]
[% ELSIF data.thanks == 2 %]
<div class="newsbox intro">
<p>It appears you submitted a blank assessment form. Please click back in your browser
and enter a completed form, or <a href="/">return to the survey index</a> to
submit other surveys.</p>
<p>
Best regards,<br />
[% yapc_host %]<br />
[% yapc_city %]</p>
</div>
[% ELSE %]
[% IF NOT errmess %]
<div class="newsbox intro">
<h3>Dear Attendee,</h3>
<p>We would like to invite you to complete the following survey as best you
can. Our aim is to allow us and future organisers to understand who attends
these events, and also to see what we can do to improve the whole conference
experience for everyone. As a by-product we also hope to better focus our
attempts at getting the right kind of sponsorship for these events, so
that both you and the sponsors are getting the most out of the conferences.</p>
<p>Please note that your individual survey response will be stored anonymously.
Your conference survey code is only used to ensure multiple forms are not
submitted, and is referenced independently of your submitted survey response,
so we cannot correlate the two. We would be very grateful if you could complete
this survey as soon as possible, as the survey will close at <b>midnight on
[% survey_close %]</b>. </p>
<p>The initial results of this survey will be publish on the
<a href="http://yapc-surveys.org">YAPC Conference Surveys</a> website, with
more detailed feedback from the event being published later.</p>
<p>Many thanks for taking part.</p>
</div>
[% END %]
<form id="SURVEY" name="SURVEY" method="post" action="/submit/survey" enctype="multipart/form-data" onsubmit="return check_submission();">
<input type="hidden" name="act" value="survey-submit" />
<input type="hidden" name="code" value="[% data.code %]" />
<input type="hidden" name="confirmation" value="Are you sure you wish to submit your survey now?" />
<div id="survey">
[% IF errmess %]
<div class="newsbox">
<p class="alert">Thanks for submitting, but unfortunately there seems to be one
or more invalid or missing fields, as noted below by the ∅ symbol. Please
amend the appropriate entries and resubmit your form. Thanks.</p>
</div>
[% END %]
[% INCLUDE "survey/questions.html" %]
<div class="newsbox">
<p align="center"><b>Please note that following submission of this survey, you will not be able to amend your answers or resubmit this form.</b>
<p align="center"><input type="submit" name="submission" value="SUBMIT" />
</div>
</div>
</form>
[% END %]