
<div class="source-confirmation source-confirmation-{{ standing }}">
  <form method="post" action="{% url action ballot_paper_id=ballot.ballot_paper_id %}" id="{{ action }}_{{ person_id }}">
    {% csrf_token %}
    <input type="hidden" name="person_id" value="{{ person_id }}"/>
    <label for="id_source">Before we save that, can you show us <em>where</em> you heard it? {{ settings.SOURCE_HINTS }}</label>
    <input type="text" name="source" id="id_source" maxlength="512" required="required" value="{{ source|default:"" }}"/>
    <input type="submit" class="button tiny" value="Save changes" />
  </form>
</div>


<div class="source-confirmation source-confirmation-{{ standing }}">
  <form method="post" action="{% url action ballot_paper_id=ballot.ballot_paper_id %}" id="{{ action }}_{{ person_id }}">
    {% csrf_token %}
    <input type="hidden" name="person_id" value="{{ person_id }}"/>
    <label for="id_source">Before we save that, can you show us <em>where</em> you heard it? {{ settings.SOURCE_HINTS }}</label>
    <input type="text" name="source" id="id_source" maxlength="512" required="required" value="{% if source %}{{ source }}{% endif %}"/>
    <input type="submit" class="button tiny" value="Save changes" />
  </form>
</div>

Stop source pre-populate from breaking tests
Stop source pre-populate from breaking tests
