Skip to content

Commit

Permalink
Merge pull request #97 from rl-institut/fix/default-area-expand-behav…
Browse files Browse the repository at this point in the history
…ior-of-accordion

Fix default area expand behavior of accordion #72
  • Loading branch information
nesnoj authored Sep 19, 2019
2 parents dc064b5 + 211961a commit 489c2ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/forms/esys_components.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ul class="accordion" data-accordion data-allow-all-closed="true">
{% for group, data in comp_groups.items %}

<li class="accordion-item {% if data.title == 'Stromerzeugung' %}accordion-item--no-border is-active{% endif %}" data-accordion-item>
<li class="accordion-item {% if data.title == 'Stromerzeugung' or data.title == 'Electricity Generation' %}accordion-item--no-border is-active{% endif %}" data-accordion-item>
<a href="#" class="accordion-title accordion-title--100">{{ data.title }}</a>

{% if data.comps.fields|length > 0 %}
Expand Down

0 comments on commit 489c2ab

Please sign in to comment.