Closed mariuscoto closed 10 years ago
added more here
There are also these files that need to me modified:
It also may be a good idea to have them all stored in one place, so we can easily add/remove more. Check this file (https://github.com/cmarius02/github-connect/blob/master/model/points.js) for macros.
While at it, please set a selected value in places where we have one, like (https://github.com/cmarius02/github-connect/blob/master/views/idea.jade#L134). You can get the selected value with #{idea.lang} and set value in selectpicker with 'selected' atribute.
In the end it should look like this:
select.selectpicker.span5(name='lang', type='text')
- each o in POINTS.LANG
- if (o == idea.lang)
option(selected)= o
- else
option= o
ok. i'll modify that tonight.
Add more programming languages to lists.