Commits

Steve Losh  committed c565796

Fix the radio button initial data bug.

  • Participants
  • Parent commits 587f198

Comments (0)

Files changed (1)

File goodfields/templates/goodfields/fields/radio.html

             <input type="radio" class="radio"
                    name="{{ field.html_name }}"
                    value="{{ choice.0 }}"
-                   {% ifequal selected choice.0 %}checked="checked"{% endifequal %} />
+                   {% ifequal initial choice.0 %}checked="checked"{% endifequal %} />
             {{ choice.1 }}
             </label>
         </li>