Skip to content

Commit

Permalink
Merge pull request #228 from AuScope/DataRepo-ui_fix
Browse files Browse the repository at this point in the history
Open the first two groups by default in submission form
  • Loading branch information
kitchenprinzessin3880 authored Jun 14, 2024
2 parents 20b86f1 + eb3c255 commit e4313f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ <h4 class="mb-0">
</button>
</h4>
</div>
<div id="collapse{{ loop.index }}" class="collapse {{ 'show' if loop.first else '' }}"
<div id="collapse{{ loop.index }}" class="collapse {{ 'show' if loop.index<=2 else '' }}"
aria-labelledby="heading{{ loop.index }}">
<div class="card-body">
{%- for field in group_fields %}
Expand Down

0 comments on commit e4313f0

Please sign in to comment.