Files
yahoo-thing/views/index.handlebars
2019-01-28 13:54:35 +01:00

23 lines
699 B
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="#{{this._id}}">{{this.title}}</a>
</h4>
</div>
<div id="{{this._id}}" 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>