Closed liquid06 closed 10 years ago
Just playing around... Actually, I kind of want to try flipping the checkboxes and labels: And that would change this style
$before_link_toc = $this->Form->label('link_toc', 'Link table of contents?');
echo $this->Form->input('link_toc', array('before' => $before_link_toc, 'label' => ''));
to match the markup of other fields in the form
echo $this->Form->input('link_toc', array('label' => 'Link table of contents'));
That's a significant improvement!
I'm seeing some misalignment on the local login page. Is that related to these changes?
Yes. My changes don't attempt to set a width for the labels - they change the labels to be left-aligned. If the input fields are the same length, different labels will cause them to seem like they're not in a straight row. It looks like I didn't add the style for .required inputs very generally!
I think I've tested all the forms!
Individual fields might also need different labels, more description, or another way of presenting the description.