{% set input = form.fields[answer.id] if input is undefined else input %}

<div class="field">
    {% set label = {
      'for': answer.id,
      'text': answer.label
    } %}
    {% include 'partials/forms/label.html' %}

    {% set input = {
      'type': 'text',
      'data': input._value(),
      'name': input.name,
      'id': answer.id
    } %}
    {% set input_placeholder = answer.placeholder %}
    {% include 'partials/forms/input.html' %}
</div>
