Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
{foreach $options as $name => $values}
<div class="sm-text"><b>{('ms2_product_' ~ $name) | lexicon}</b></div>
{foreach $values as $value index=$index}
<label>
<input type="radio" value="{$values[$index]}" name="options[{$name}]" {if $index == 0}checked="checked"{/if}/>
{$values[$index]}
</label>
{/foreach}
{/foreach}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment