Created
June 21, 2009 17:35
-
-
Save eqdw/133578 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
<h1>Index:</h1> | |
<% form_tag :action => "index" do %> | |
<fieldset> | |
<legend>Enter Search Criteria</legend> | |
<div> | |
<label for="Company">Company Name:</label> | |
<%= collection_select( :user, :company_name, User.all, | |
:company_name, :company_name, options = {:prompt => "-Select a Company"}) %> | |
</div> | |
<div> | |
<label for="Username">Username:</label> | |
<%= collection_select( :user, :name, User.all, :name, :name, | |
options = {:prompt => "-Select a Username"}) %> | |
</div> | |
<div> | |
<label for="Submitter">Submitted By:</label> | |
<%= collection_select( :bug, :submitter, Bug.all, :submitter, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment