2cdb554623
* Fixes an incorrect link in dashboard * Disables the symposion sponsors app * Adds redirect links for login/logout; adds THEME_CONTACT_EMAIL value * Re-adds colophon/copyright message. * Adds AceMarkdownEditor widget * Tidies up the generated HTML * Tidies up form snippet behaviour * Proposals forms now use the markdown editor * Monkey patches the markdown editor into the speaker form. * Adds missing field to proposal details * Fixes #10 — adds a link to random unreviewed proposals * Minor tweaks
26 lines
716 B
HTML
26 lines
716 B
HTML
{% load lca2017_tags %}
|
|
|
|
{% for field in form %}
|
|
{% if not field.is_hidden %}
|
|
<div class="fieldWrapper">
|
|
<div>
|
|
{% 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 %}
|
|
</div>
|
|
|
|
{% if field.help_text %}
|
|
<span class="help_text">{{ field.help_text|safe }}</span>
|
|
{% endif %}
|
|
|
|
<p></p>
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|