Skip to content

Commit

Permalink
Update Speaker Request form (#14874)
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna committed Jul 30, 2024
1 parent f296a07 commit 4fdd270
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 31 deletions.
7 changes: 3 additions & 4 deletions bedrock/press/templates/press/speaker-request.html
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ <h2>
</div>

<div class="mzp-c-field {% if form.sr_event_speakers_confirmed.errors %}mzp-is-error{% endif %}">
<label class="mzp-c-field-label" or="sr_event_speakers_confirmed">Confirmed Speakers</label>
<label class="mzp-c-field-label" for="sr_event_speakers_confirmed">Confirmed Speakers</label>
{{ field_with_attrs(form.sr_event_speakers_confirmed, class='mzp-c-field-control'|safe) }}
<div class="mzp-c-field-info">{{ form.sr_event_speakers_confirmed.errors }}</div>
</div>
Expand Down Expand Up @@ -216,7 +216,7 @@ <h2>
</div>

<div class="mzp-c-field {% if form.sr_presentation_topic.errors %}mzp-is-error{% endif %}">
<legend class="mzp-c-field-label">Topic of Presentation</legend>
<label class="mzp-c-field-label" for="sr_presentation_topic">Topic of Presentation</label>
{{ field_with_attrs(form.sr_presentation_topic, class='mzp-c-field-control'|safe) }}
<div class="mzp-c-field-info">{{ form.sr_presentation_topic.errors }}</div>
</div>
Expand All @@ -232,7 +232,7 @@ <h2>
<fieldset class="mzp-c-field-set">
<legend class="mzp-c-form-subtitle">Additional Information</legend>

<div class="mzp-c-field {% if form.sr_attachment.errors %}mzp-is-error{% endif %}" id="sr_attachment">
<div class="mzp-c-field {% if form.sr_attachment.errors %}mzp-is-error{% endif %}">
<label class="mzp-c-field-label" for="sr_attachment">PDF Attachment</label>
{{ field_with_attrs(form.sr_attachment, class='mzp-c-field-control'|safe) }}
<div class="mzp-c-field-info">
Expand Down Expand Up @@ -261,5 +261,4 @@ <h2>
{% block email_form %}{% endblock %}

{% block js %}
{{ js_bundle('press_speaker_request') }}
{% endblock %}
3 changes: 0 additions & 3 deletions media/js/libs/modernizr.custom.inputtypes.js

This file was deleted.

17 changes: 0 additions & 17 deletions media/js/press/speaker-request.js

This file was deleted.

7 changes: 0 additions & 7 deletions media/static-bundles.json
Original file line number Diff line number Diff line change
Expand Up @@ -1665,13 +1665,6 @@
],
"name": "annual_report_modal"
},
{
"files": [
"js/libs/modernizr.custom.inputtypes.js",
"js/press/speaker-request.js"
],
"name": "press_speaker_request"
},
{
"files": [
"js/pocket/mobile-nav.es6.js",
Expand Down

0 comments on commit 4fdd270

Please sign in to comment.