Skip to content

Commit

Permalink
issue #13 point 1: Split form question in organiser view section “Pro…
Browse files Browse the repository at this point in the history
…posal information” into two sections (#60)

Co-authored-by: Martin Bähr <martin@codingforafrica.at>
  • Loading branch information
eMBee and Martin Bähr committed Feb 28, 2024
1 parent 42fe4b1 commit 935dddc
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions src/pretalx/orga/templates/orga/cfp/text.html
Expand Up @@ -111,18 +111,6 @@
<td></td>
</tr>
{% endif %}
<tr>
<th>{% translate "Biography" %}</th>
<td class="hide-label">{% bootstrap_field sform.cfp_ask_biography layout='event-inline' %}</td>
<td>{% bootstrap_field sform.cfp_biography_min_length use_label=False layout='inline' %}</td>
<td>{% bootstrap_field sform.cfp_biography_max_length use_label=False layout='inline' %}</td>
</tr>
<tr>
<th>{% translate "Profile picture" %}</th>
<td class="hide-label">{% bootstrap_field sform.cfp_ask_avatar layout='event-inline' %}</td>
<td></td>
<td></td>
</tr>
<tr>
<th>{% translate "Additional speakers" %}</th>
<td class="hide-label">{% bootstrap_field sform.cfp_ask_additional_speaker layout='event-inline' %}</td>
Expand Down Expand Up @@ -166,6 +154,26 @@
</div>
</fieldset>

<fieldset>
<legend id="profile">{% translate "Speaker Profile" %}</legend>
<div class="offset-md-3 alert alert-info"><span>
{% translate "Speaker Profile" %}
</span></div>
<div class="table-responsive-md"><table class="table offset-md-3 table-sm table-hover table-flip" id="cfp-option-table">
<tr>
<th>{% translate "Biography" %}</th>
<td class="hide-label">{% bootstrap_field sform.cfp_ask_biography layout='event-inline' %}</td>
<td>{% bootstrap_field sform.cfp_biography_min_length use_label=False layout='inline' %}</td>
<td>{% bootstrap_field sform.cfp_biography_max_length use_label=False layout='inline' %}</td>
</tr>
<tr>
<th>{% translate "Profile picture" %}</th>
<td class="hide-label">{% bootstrap_field sform.cfp_ask_avatar layout='event-inline' %}</td>
<td></td>
<td></td>
</tr>
</table></div>
</fieldset>
{% include "orga/includes/submit_row.html" %}
</form>
</div>
Expand Down

0 comments on commit 935dddc

Please sign in to comment.