Anonymous committed e781459

add .checkbox and .inline to radio button controls to get them rendering in rows instead of a single column - for #208 (from olemis)

  • Participants
  • Parent commits 9d5d976

Comments (0)

Files changed (1)


                                        checked="${value == '1' or None}" value="1" />
                                 <input type="hidden" name="field_checkbox_${}" value="1" />
-                              <label py:when="'radio'"
+                              <label py:when="'radio'" class="checkbox inline"
                                      py:for="idx, option in enumerate(field.options)">
                                 <input type="radio" name="field_${}" value="${option}"
                                        checked="${value == option or None}" />