Files @ e6c623a69ca9
Branch filter:

Location: symposion_app/pinaxcon/templates/_form_snippet.html

Christopher Neugebauer
Refactors all speaker-facing forms and editing pages to use the new theme (#27)

* Themes speaker_edit.html

* speaker_create now uses takeflight theme

* proposal_submit_kind now uses takeflight theme

* fixes bug in form_snippet

* Optimises proposals_submit_kind

* proposal_submit now uses wagtail theme

* Proposal_edit now uses new theme

* More forms

* Proposal details page now loads from take flight theme

* proposal_fields now looks nicer under the take flight theme

* proposal_speaker_manage rethemed
{% load lca2017_tags %}

{% for field in form %}
  {% if not field.is_hidden %}
    <div class="fieldWrapper">
      {% classname field.field.widget as widget %}
      {% if widget != "CheckboxInput" %}
        <h4><label for="{{ field.id_for_label }}">{{ field.label }}</label></h4>
        {{ field.errors }}
        {{ field }}
      {% else %}
        <label for="{{ field.id_for_label }}"><strong>{{ field.label }}</strong></label>
        {{ field }}
        {{ field.errors }}
      {% endif %}

      {% if field.help_text %}
        {% if widget != "CheckboxInput" or not field.errors %}
          <br />
        {% endif %}
        <span class="help_text">{{ field.help_text|safe }}</span>
      {% endif %}

      <p></p>
    </div>
  {% endif %}
{% endfor %}