search for: book_titl

Displaying 4 results from an estimated 4 matches for "book_titl".

Did you mean: book_title
2006 Jul 06
3
Accessing form field contents
I have an HTML form on the screen, that is connected to a database (standard Ruby way). I found that there are people that would rather not fill in this information, but would rather search Amazon for the info. Therefore, I added a link to the right of one of the fields that, when pressed, will search Amazon for what ever you typed into that field. So, how can I do that? At first I tried
2006 Feb 18
0
question on text_field_with_auto_complete
...an admin section for a database of books and on each page there is a form at the top with a single search field on the title of books. So I''ve used: <%= start_form_tag ({:controller => ''books'', :action => ''edit'' }) %> <label for="book_title">Search Books: </label><%= text_field_with_auto_complete :book, :title %> <%= submit_tag ''Go'' %> This works fine except that some of the views on which this top search bar appears are edit and create forms for books. So, they also have input field...
2008 Jul 21
0
edit radio button values...
my problem is... during edit process radio button should be checked as default ..how can i do that ..pl help.. my edit .erb file <% form_tag (:action => ''update'', :id => @mobile )do%> <p><label for="book_title">Title</label>: <%= radio_button ''mobile'', ''brand'', ''yes'' :checked => checked?( ''mobile'', ''brand'', ''yes'' )%><%= radio_button ''mobile'', ''...
2009 Dec 24
4
NoMethodError
...w.html.erb where line #4 raised: undefined method `title'' for #<Book id: nil, created_at: nil, updated_at: nil> Extracted source (around line #4): 1: <h1>Add new book</h1> 2: <%= form_tag :action => ''create'' %> 3: <p><label for="book_title">Title</label>: 4: <%= text_field ''book'', ''title'' %></p> 5: <p><label for="book_price">Price</label>: 6: <%= text_field ''book'', ''price'' %></p> 7: <p><l...