ualibraries / Guide-on-the-Side

The University of Arizona Libraries will no longer provide support for Guide on the Side. The code will remain openly available; however, UAL can no longer provide code fixes or upgrades.
https://ualibraries.github.io/Guide-on-the-Side/about.html
Other
66 stars 48 forks source link

Organization of the main creator form #54

Closed liquid06 closed 10 years ago

liquid06 commented 10 years ago

Individual fields might also need different labels, more description, or another way of presenting the description.

image

liquid06 commented 10 years ago

Just playing around... image Actually, I kind of want to try flipping the checkboxes and labels: image 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'));
michaelhagedon commented 10 years ago

That's a significant improvement!

michaelhagedon commented 10 years ago

I'm seeing some misalignment on the local login page. Is that related to these changes?

gots_local_login

liquid06 commented 10 years ago

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!

gots-local-login-form

liquid06 commented 10 years ago

I think I've tested all the forms!