Skip to content

Commit

Permalink
Fix unexpected attachments tab link displayed in topic form
Browse files Browse the repository at this point in the history
  • Loading branch information
ellmetha committed Aug 28, 2020
1 parent 76c0bc9 commit afe2c09
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
{% if poll_option_formset or attachment_formset %}
<ul class="nav nav-tabs nav-justified">
<li class="nav-item"><a href="#options" class="nav-link active" data-toggle="tab">{% trans "Options" %}</a></li>
<li class="nav-item"><a href="#poll" class="nav-link" data-toggle="tab">{% trans "Poll" %}</a></li>
<li class="nav-item"><a href="#attachments" class="nav-link" data-toggle="tab">{% trans "Attachments" %}</a></li>
{% if poll_option_formset %}<li class="nav-item"><a href="#poll" class="nav-link" data-toggle="tab">{% trans "Poll" %}</a></li>{% endif %}
{% if attachment_formset %}<li class="nav-item"><a href="#attachments" class="nav-link" data-toggle="tab">{% trans "Attachments" %}</a></li>{% endif %}
</ul>
{% endif %}

Expand Down

0 comments on commit afe2c09

Please sign in to comment.