Displaying 1 result from an estimated 1 matches for "rfqline".
Did you mean:
rfq_line
2006 Apr 05
7
select_tag - populating options
Hello,
I want to a select tag, where you can choose a number between 1 and 100.
My inital code is based on the examples from Agile Web Development with
Rails, and looks like this:
view:
<%= options = [["Select number of lines", ""]] + RfqLines::LINE_QTY
select("rfq_line", "line_qty", options) %>
model:
LINE_QTY = select_fill
def self.select_fill
@filler = []
1.upto(100) do |count|
@filler << count
end
end
Obviously it is not working, and I''m sure t...