collapse-card.blade.php 1.0 KB

12345678910111213141516171819202122
  1. <div id="accordion" class="accordion">
  2. <div class="">
  3. <div class="card">
  4. <div class="card-header pb-2 bg-white border-bottom-0" id="headingOne">
  5. <div class="mb-0 row">
  6. <div class="col-12 accordion-head">
  7. <a class="text-primary pr-0 mb-0" id="headingOne" data-toggle="collapse" data-target="#collapse-content" aria-expanded="true"
  8. aria-controls="collapse-content" style="font-weight: bold;cursor: pointer">
  9. <i class="fa fa-minus float-left" aria-hidden="true"></i>
  10. </a>
  11. <span class="mb-0 text-primary"><strong>{{ $title }}</strong></span>
  12. </div>
  13. </div>
  14. </div>
  15. <div id="collapse-content" class="collapse show" aria-labelledby="headingOne" data-parent="#accordion">
  16. <div class="card-body">
  17. {{ $body }}
  18. </div>
  19. </div>
  20. </div>
  21. </div>
  22. </div>