EH007/modules/faq/faq_index2.html.erb.bk

28 lines
707 B
Plaintext
Executable File

<div class="index-faqs index2">
<h1 class="index-title">
<span>{{page-title}}</span>
</h1>
<ul class="list-unstyled" data-list="faqs" data-level="0">
<li class="index-content">
<h4>
<span class="index-content-title">{{question}}</span>
<span data-list="statuses" data-level="1">
<span class="label status {{status-class}}">{{status}}</span>
</span>
</h4>
<section class="post">
<p>{{answer}}</p>
</section>
</li>
</ul>
</div>
{{pagination_goes_here}}
<script>
//F&Q
$('.index-faqs.index2 .index-content h4').each(function(){
$(this).click(function(){
$(this).siblings().toggle(500)
})
})
</script>