Author: lektran
Date: Sat Nov 14 08:56:38 2009
New Revision: 836146
URL:
http://svn.apache.org/viewvc?rev=836146&view=revLog:
Use label for radio input text
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/optionsettings.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/optionsettings.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/optionsettings.ftl?rev=836146&r1=836145&r2=836146&view=diff==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/optionsettings.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/optionsettings.ftl Sat Nov 14 08:56:38 2009
@@ -73,10 +73,10 @@
<tr>
<td width='1%' valign="top" >
<#assign shippingMethod = carrierShipmentMethod.shipmentMethodTypeId + "@" + carrierShipmentMethod.partyId>
- <input type='radio' name='${shipGroupIndex?default("0")}_shipping_method' value='${shippingMethod}' <#if shippingMethod == chosenShippingMethod?default("N@A")>checked</#if>>
+ <input type='radio' name='${shipGroupIndex?default("0")}_shipping_method' value='${shippingMethod}'<#if shippingMethod == chosenShippingMethod?default("N@A")> checked</#if> id='${shipGroupIndex?default("0")}_shipping_method_${shippingMethod}'>
</td>
<td valign="top">
- <div class='tabletext'>
+ <label for="${shipGroupIndex?default("0")}_shipping_method_${shippingMethod}">
<#if carrierShipmentMethod.partyId != "_NA_">${carrierShipmentMethod.partyId?if_exists} </#if>${carrierShipmentMethod.description?if_exists}
<#if cart.getShippingContactMechId(shipGroupIndex)?exists>
<#assign shippingEst = shipEstimateWrapper.getShippingEstimate(carrierShipmentMethod)?default(-1)>
@@ -89,7 +89,7 @@
</#if>
</#if>
</#if>
- </div>
+ </label>
</td>
</tr>
</#list>