Created
September 17, 2010 03:07
-
-
Save gabewb/583590 to your computer and use it in GitHub Desktop.
This file contains 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
#undefined method `nil_class_path' for | |
<% form_for :action =>'create' do |f| %> | |
<p><label for="game_title">Title:</label> | |
<%= f.text_field 'game', 'title' %></p> | |
<p><label for="game_price">Price:</label> | |
<%= f.text_field 'game', 'price' %><br /> | |
<p><label for="game_tag">Tag:</label> | |
<%= f.collection_select('game',:tag_id,@tags,:id,:name)%> | |
<p><label for="game_description">Description</label></br> | |
<%= text_area 'game', 'description'%></p> | |
<%= submit_tag "Create Game"%> | |
<% end %> | |
<%= link_to 'Back', {:action => 'list'}%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment