search for: addauthor

Displaying 1 result from an estimated 1 matches for "addauthor".

2006 Feb 13
1
autocomplete input field name
...ers to write down :) I am building a kind of library application for (fysical) books and e-books and later I want to add other functions like knowledge management. The problem: in the book show page I have a form to add a author with auto complete: show.rhtml ... <form action="/book/addauthor" method="get"> <%= text_field_with_auto_complete :author, :name %></p> <input name="bookid" value="<%= @book.id %>" type="hidden"> ... book_controller.rb class BookController < ApplicationController auto_complete_for :...