Created
February 19, 2011 05:02
-
-
Save chewmanfoo/834837 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ## the css | |
| .side_by_side { | |
| } | |
| .sbs_rightmost { | |
| float: right; | |
| } | |
| .sbs_left { | |
| float: left; | |
| } | |
| ## the html | |
| <div class="side_by_side"> | |
| <div class="sbs_rightmost"> | |
| <p> | |
| <%= f.label :second_engineer_id %><br /> | |
| <%= collection_select(:scheduled_change, :second_engineer_id, @engineers, :id, :name, {:prompt => true}) %> | |
| </p> | |
| </div> | |
| <div class="sbs_left"> | |
| <p> | |
| <%= f.label :engineer_id %><br /> | |
| <%= collection_select(:scheduled_change, :engineer_id, @engineers, :id, :name, {:prompt => true}) %> | |
| </p> | |
| </div> | |
| </div> | |
| <p> | |
| <%= f.label :software_release_id %><br /> | |
| <%= collection_select(:scheduled_change, :software_release_id, @software_releases, :id, :name, {:prompt => true}) %> | |
| </p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment