Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

#checkbox{}'s label is not attached to the checkbox field

#55

The checkbox field's ID is not set. Here's a patch that sets it.

diff --git a/apps/nitrogen/src/elements/forms/element_checkbox.erl b/apps/nitrog
index be5d03f..a4d9b74 100644
--- a/apps/nitrogen/src/elements/forms/element_checkbox.erl
+++ b/apps/nitrogen/src/elements/forms/element_checkbox.erl
@@ -24,6 +24,7 @@ render_element(Record) ->
     [
         % Checkbox...
         wf_tags:emit_tag(input, [
+            {id, Anchor},
             {name, Anchor},
             {type, checkbox},
             {class, [checkbox, Record#checkbox.class]},

Reported by Brian O · April 23rd, 2010 @ 01:17 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. Rusty Klophaus
  2. Rusty Klophaus
    Rusty Klophaus
    • Milestone cleared.
    • Milestone order changed from 0 to 0

    June 29th, 2010 @ 08:00 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.