Files
yahoo-thing/views/index.handlebars

41 lines
1.1 KiB
Handlebars

<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="#collapse1">{{this.title}}</a>
</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>
<div class="panel-group" id="accordion">
<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>
</div>