Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {= render_generic_tab_bar(tab_bar_class, options)
- <div class="{{ tab_bar_class }} clearfix">
- {% _.each(options.tabs, function(tab) {
- if (tab.visible === undefined || tab.visible ) { %}
- <span class="tab{% if (tab.name == options.selected_tab) emit(' selected'); %}"><a href="{{ tab.url }}">{{ tab.text }}</a></span>
- {% } %}
- {% }); %}
- </div>
- =}
Add Comment
Please, Sign In to add comment