Skip to content

Instantly share code, notes, and snippets.

@skrosoft
Created September 8, 2015 16:03
Show Gist options
  • Save skrosoft/8b40f05fbcea5f3b3111 to your computer and use it in GitHub Desktop.
Save skrosoft/8b40f05fbcea5f3b3111 to your computer and use it in GitHub Desktop.
{set-block scope=root variable=my_var_name}
{let selected_id_array=$attribute.content}
{section var=Options loop=$attribute.class_content.options}
{section-exclude match=$selected_id_array|contains( $Options.item.id )|not}
{$Options.item.name|wash( xhtml )}{delimiter}<br/>{/delimiter}{/section}
{/let}
{/set-block}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment