
Feature request - form module option to place controls & labels on same line
Reported by dleffler | July 24th, 2012 @ 01:03 PM | in 2.0.9 (closed)
Simplest solution would be something like a two column table with the labels right justified? Might need to be a form option instead of a control option.
Comments and changes to this ticket
-
dleffler July 27th, 2012 @ 01:22 PM
Easiest method is to use css styling, though it has some limitations.
.control .label {
display: block; float: left; width: 150px; /* non-flexible part truncates label */ text-align: right;
}
.control.radio .label {
width: auto; /* make radio buttons look normal */
}
.control.checkbox .label {
width: auto; /* make checkboxes look normal */
}
http://exponentcms.org/blog/two-column-forms-or-something-like-that
-
expNinja August 3rd, 2012 @ 05:13 PM
- State changed from new to resolved
- Milestone set to 2.0.9
- Milestone order changed from 194 to 0
(from [a91cecead6e730a19e436a0168aea55a9b9d0418]) Adds 2 column style option to form display, updates radio group & checkbox to use less table formatting [#667 #676 state:resolved responsbile:dleffler milestone:2.0.9] https://github.com/exponentcms/exponent-cms/commit/a91cecead6e730a1...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
Tags
Referenced by
-
676 Feature request - update radio group & checkbox to non-table formatting (from [a91cecead6e730a19e436a0168aea55a9b9d0418]) Adds 2 ...