You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2012/11/13 15:34:25 UTC
svn commit: r1408753 -
/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
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}" />