.pure-menu.pure-menu-open.pure-menu-horizontal.menu-verses(ng-click="flipPick()") .pure-g-r .version(ng-repeat="heading in headings") .version-padded .version-menu .arrow.fa.fa-chevron-up(ng-show="!pick") .arrow.fa.fa-chevron-down(ng-show="pick") .text(ng-bind-html="heading") .pick(ng-show="pick") .pick-in table tr th(ng-repeat="(attribute, value) in all[0].meta" ng-if="attribute != 'Active'" ng-bind-html="attribute") tr(ng-repeat="poem in all" class="switch" ng-class="{disabled: !poem.meta.Active}" ng-click="switchActive(poem)") td(ng-repeat="(attribute, value) in poem.meta" ng-if="attribute != 'Active'" ng-bind-html="value") // verses #content .pure-g-r(du-scrollspy ng-href="#section-{{$index + 1}}" offset="100px" ng-repeat="verse in verses" id="section-{{$index + 1}}") .version(ng-repeat="version in verse") .version-padded .version-container .section(ng-hide="version.section == ''" ng-bind-html="version.section") .text(ng-bind-html="version.text")