~ | | Upated prefs.html to include a second condition statement checking if there is any list (li) value in the groups (indicating if there are any values or not). If there are no groups present then the line stating they must chose a group is removed. |
| ~ | Updated issue 1233 to seek out the keyword "groups" rather than the keyword "li", it is figured that groups would have a much longer life span if elements are changed than 'li' would |
- | |
|
- | | Maybe not a perfect solution. When form.groups returns, if its
|
- | | empty it returns a '<ul> </ul>' html string, I made use of the cut command
|
- | | to aid in detecting <li>'s (that only exist if there was more content
|
- | | in the groups than the empty <ul>'s). If the content of groups is ever
|
- | | changed to not include the li tags this will be ineffective. |
- | |
|
- | | But my first attempt at Django & RB so comment away! |