Displaying 1 result from an estimated 1 matches for "the_credit_list".
2006 May 23
2
auto_complete_field help
..._credit_to_form
@credit_number = (params[:credit_number]).to_i
render :update do |page|
if @credit_number == 0
page.replace_html ''credits_list'', :partial =>
''new_credit_field''
else
page.insert_html :bottom, ''the_credit_list'', :partial =>
''new_credit_field''
end
end
end
# Partial
# This is where I am running into issues
<% if @credit_number == 0 %>
<ul id="the_credit_list">
<li id="credit_<%= @credit_number %>">
<%= tex...