Source

pyramid_uniform / pyramid_uniform / templates / zpt / formish / widgets / RadioChoice / widget.html

<div tal:condition="field.widget.none_option" class="radiobutton">
  <input type="radio" name="${field.name}" id="${field.cssname}-noneoption" value="${field.widget.get_none_option_value(field)}" />
  <label for="${field.cssname}-noneoption">${field.widget.none_option[1]}</label>
</div>
<div tal:repeat="pair enumerate(field.widget.get_options(field))"
     class="radiobutton">
  <input type="radio" 
         name="${field.name}" 
         id="${field.cssname}-${pair[0]}"
         value="${pair[1][0]}"
         tal:attributes="checked field.widget.selected(pair[1], field) or None"/>
  <label for="${field.cssname}-${pair[0]}">${pair[1][1]}</label>
</div>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.