]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 362813: Missing labels in editflagtypes.cgi?action=edit - Patch by Frédéric...
authorlpsolit%gmail.com <>
Sat, 10 Mar 2007 00:48:53 +0000 (00:48 +0000)
committerlpsolit%gmail.com <>
Sat, 10 Mar 2007 00:48:53 +0000 (00:48 +0000)
template/en/default/admin/flag-type/edit.html.tmpl

index e78c83643527480ef13bf3b361684c9cb2277f79..4e2edd5a442a344f83f9cf21a5ef5a2f1dd5078b 100644 (file)
     <tr>
       <th>&nbsp;</th>
       <td>
-        <input type="checkbox" name="is_active" [% "checked" IF type.is_active || !type.is_active.defined %]>
-        active (flags of this type appear in the UI and can be set)
+        <input type="checkbox" id="is_active" name="is_active"
+               [% " checked" IF type.is_active || !type.is_active.defined %]>
+        <label for="is_active">active (flags of this type appear in the UI and can be set)</label>
       </td>
     </tr>
 
     <tr>
       <th>&nbsp;</th>
       <td>
-        <input type="checkbox" name="is_requestable" [% "checked" IF type.is_requestable || !type.is_requestable.defined %]>
-        requestable (users can ask for flags of this type to be set)
+        <input type="checkbox" id="is_requestable" name="is_requestable"
+               [% " checked" IF type.is_requestable || !type.is_requestable.defined %]>
+        <label for="is_requestable">requestable (users can ask for flags of this type to be set)</label>
       </td>
     </tr>
 
     <tr>
       <th>&nbsp;</th>
       <td>
-        <input type="checkbox" name="is_requesteeble" [% "checked" IF type.is_requesteeble || !type.is_requesteeble.defined %]>
-        specifically requestable (users can ask specific other users to set flags of this type as opposed to just asking the wind)
+        <input type="checkbox" id="is_requesteeble" name="is_requesteeble"
+               [% " checked" IF type.is_requesteeble || !type.is_requesteeble.defined %]>
+        <label for="is_requesteeble">specifically requestable (users can ask specific other users
+          to set flags of this type as opposed to just asking the wind)</label>
       </td>
     </tr>
 
     <tr>
       <th>&nbsp;</th>
       <td>
-        <input type="checkbox" name="is_multiplicable" [% "checked" IF type.is_multiplicable || !type.is_multiplicable.defined %]>
-        multiplicable (multiple flags of this type can be set on the same [% typeLabelLowerSingular %])
+        <input type="checkbox" id="is_multiplicable" name="is_multiplicable"
+               [% " checked" IF type.is_multiplicable || !type.is_multiplicable.defined %]>
+        <label for="is_multiplicable">multiplicable (multiple flags of this type can be set on
+          the same [% typeLabelLowerSingular %])</label>
       </td>
     </tr>