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

28 lines
707 B
Plaintext
Raw Permalink Normal View History

2023-07-17 10:56:50 +00:00
<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>