fuck a collapse

This commit is contained in:
2019-01-28 14:14:33 +01:00
parent 53ecdd448b
commit bad9beb1f6
2 changed files with 15 additions and 10 deletions

View File

@@ -2,17 +2,17 @@
<div class="container wrapper">
<div class="panel-group" id="accordion">
{{#each this.data}}
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#accordion" href="#{{this._id}}">{{this.title}}</a>
<div class="card">
<div class="card-header" id="heading{{this._id}}">
<h4 class="mb-0">
<button class="btn btn-link collapsed" type="button" data-toggle="collapse" data-target="#{{this._id}}" aria-expanded="false" aria-controls="{{this._id}}">{{this.title}}</button
</h4>
</div>
<div id="{{this._id}}" class="panel-collapse collapse in">
<div class="panel-body">
<h3>description</h3>
<div id="{{this._id}}" class="" aria-labelledby="heading{{this.id}}" data-parent="#accordion">
<div class="card-body">
<h5>description</h5>
<p class="description">{{this.description}}</p>
<h3>category</h3>
<h5>category</h5>
<p class="category">{{this.category}}</p>
</div>
</div>