I want to generate a form like this
<select> <option value='1'>first <option value='2'>second </select><br> by supplying data in the format like this to SQL form factory. select_data = [(1, 'first'), (2, 'second')] How do i achieve this?
I want to generate a form like this
<select> <option value='1'>first <option value='2'>second </select><br> by supplying data in the format like this to SQL form factory. select_data = [(1, 'first'), (2, 'second')] How do i achieve this?