Author: gjm
Date: Tue Nov 13 14:34:24 2012
New Revision: 1408753
URL: http://svn.apache.org/viewvc?rev=1408753&view=rev
Log:
add .checkbox and .inline to radio button controls to get them rendering in
rows instead of a single column - for #208 (from olemis)
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
Modified:
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL:
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1408753&r1=1408752&r2=1408753&view=diff
==============================================================================
---
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
(original)
+++
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
Tue Nov 13 14:34:24 2012
@@ -397,7 +397,7 @@ ${value}</textarea>
checked="${value == '1' or None}"
value="1" />
<input type="hidden"
name="field_checkbox_${field.name}" value="1" />
</span>
- <label py:when="'radio'"
+ <label py:when="'radio'" class="checkbox inline"
py:for="idx, option in
enumerate(field.options)">
<input type="radio" name="field_${field.name}"
value="${option}"
checked="${value == option or None}" />