Skip to content

Instantly share code, notes, and snippets.

@JumboLove
Created June 7, 2013 13:45
Show Gist options
  • Select an option

  • Save JumboLove/5729376 to your computer and use it in GitHub Desktop.

Select an option

Save JumboLove/5729376 to your computer and use it in GitHub Desktop.
DW Form Radio Button
<isloop items="${pdict.CurrentForms.newsletter.subscribe.gender.options}" var="option">
<isif condition="${option.htmlValue > 0}" >
<label for="gender-${option.htmlValue}"><isprint value="${Resource.msg(option.label,'forms',null)}" /></label>
<input type="radio" name="${pdict.CurrentForms.newsletter.subscribe.gender.htmlName}" value="${option.htmlValue}" id="gender-${option.htmlValue}" />
</isif>
</isloop>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment