PHP Classes

File: aksara/Views/components/view/accordion.twig

Recommend this page to a friend!
  Classes of Aby Dahana   Aksara   aksara/Views/components/view/accordion.twig   Download  
File: aksara/Views/components/view/accordion.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Aksara
A CodeIgniter based API and CRUD generator
Author: By
Last change:
Date: 1 month ago
Size: 784 bytes
 

Contents

Class file image Download
<div class="accordion" id="accordion_{{ name }}"> {% for key, accordion in content %} <div class="accordion-item"> <h2 class="accordion-header" id="heading_{{ key }}"> <button class="accordion-button collapsed" type="button" data-bs-toggle="collapse" data-bs-target="#collapse_{{ key }}" aria-controls="collapse_{{ key }}"> {{ accordion.title }} </button> </h2> <div id="collapse_{{ key }}" class="accordion-collapse collapse" aria-labelledby="heading_{{ key }}" data-bs-parent="#accordion_{{ name }}"> <div class="accordion-body"> {{ accordion.body }} </div> </div> </div> {% endfor %} </div>