[Rt-commit] r2942 -
rt/branches/CHALDEA-EXPERIMENTAL/html/Admin/Elements
autrijus at bestpractical.com
autrijus at bestpractical.com
Tue May 24 12:40:27 EDT 2005
Author: autrijus
Date: Tue May 24 12:40:26 2005
New Revision: 2942
Modified:
rt/branches/CHALDEA-EXPERIMENTAL/html/Admin/Elements/PickObjects
Log:
* add <label> to PickObjects
Modified: rt/branches/CHALDEA-EXPERIMENTAL/html/Admin/Elements/PickObjects
==============================================================================
--- rt/branches/CHALDEA-EXPERIMENTAL/html/Admin/Elements/PickObjects (original)
+++ rt/branches/CHALDEA-EXPERIMENTAL/html/Admin/Elements/PickObjects Tue May 24 12:40:26 2005
@@ -50,19 +50,22 @@
% my $count;
% foreach my $Object (@Objects) {
<TR>
+% my $id = "Object-".$Object->id."-CF-".$id;
% if (!$ReadOnly) {
<TD valign="TOP">
-<input type="checkbox" name="Object-<%$Object->id%>-CF-<%$id%>" value="1" <% $Checked ? 'CHECKED' : ''%>
+<input type="checkbox" id="<% $id %>" name="<% $id %>" value="1" <% $Checked ? 'CHECKED' : ''%>
>
</TD>
% }
<TD valign="TOP">
+ <label for="<% $id %>">
% if ($Object->Name) {
<b><%$Object->Name%></b><br>
% } else {
<i>(<%loc("no name")%>)</i><br>
% }
<%$Object->can('Description') && $Object->Description%>
+ </label>
</TD>
%# <TD valign="TOP">
%# <i><% $CustomFieldObj->FriendlyTypeComposite %></i>
More information about the Rt-commit
mailing list