I am trying to create a select element that has a list of numbers 1 to pages where pages is a variable that is the number of pages I have. What i don\'t know how to do is to
In CoffeeScript:
app.filter 'range', -> (input, min, max) -> input.push(i) for i in [parseInt(min)..parseInt(max)]
And the HTML:
Here is the gist with the Javascript