diff options
author | Yulqen <246857+yulqen@users.noreply.github.com> | 2024-04-23 11:22:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 11:22:21 +0100 |
commit | ceca6fa956b21c43263e53c328d619c4ede21914 (patch) | |
tree | a48384210cdc168e3bd3ccff6d6d516eeed9e748 /templates/w3/accordion-group.html | |
parent | 8b084e9fe7a5f3a04c32daf9a24f7f2cf67300f9 (diff) | |
parent | 0f951dcf029d4af284467543a3afdf5bf6581a20 (diff) |
Merge pull request #22 from defencedigital/pyswitch
switched to Django
Diffstat (limited to 'templates/w3/accordion-group.html')
-rw-r--r-- | templates/w3/accordion-group.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/w3/accordion-group.html b/templates/w3/accordion-group.html new file mode 100644 index 0000000..3d4f5e8 --- /dev/null +++ b/templates/w3/accordion-group.html @@ -0,0 +1,17 @@ +<div class="card mb-2"> + <div class="card-header" role="tab"> + <h5 class="mb-0"> + <a data-toggle="collapse" href="#{{ div.css_id }}" aria-expanded="true" + aria-controls="{{ div.css_id }}"> + {{ div.name }} + </a> + </h5> + </div> + + <div id="{{ div.css_id }}" class="collapse{% if div.active %} show{% endif %}" role="tabpanel" + aria-labelledby="{{ div.css_id }}" data-parent="#{{ div.data_parent }}"> + <div class="card-body"> + {{ fields }} + </div> + </div> +</div> |