trying out new things

This commit is contained in:
2019-01-25 17:39:08 +01:00
parent 093effd276
commit 2895514dbf
4 changed files with 21 additions and 17 deletions

View File

@@ -1,18 +1,22 @@
<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="#collapse1">{{this.title}}</a>
</h4>
</div>
<div id="collapse1" class="panel-collapse collapse in">
<div class="panel-body"> <h3>description</h3> <p> {{this.description}}</p> <h3>category</h3> <p>{{this.category}}</p> </div>
</div>
</div>
{{/each}}
<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">{{this.title}}</h4>
</div>
<div class="panel-collapse collapse in">
<div class="panel-body">
<h3>description</h3>
<p class="description">{{this.description}}</p>
<h3>category</h3>
<p class="category">{{this.category}}</p>
</div>
</div>
</div>
{{/each}}
</div>
</div>