import tw2.core
import tw2.forms


class CharsheetForm(tw2.forms.FormPage):
    title = 'Accounts'

    class child(tw2.forms.TableForm):
        buttons = [tw2.forms.SubmitButton(id='submit', value='Generate')]
        action = '/submit'
        id = tw2.forms.HiddenField()
        master = tw2.forms.TextField('master', label='All')
        github = tw2.forms.TextField('github', label='GitHub')
        github_token = tw2.forms.HiddenField('github_token')
        ohloh = tw2.forms.TextField('ohloh', label='Ohloh')
        coderwall = tw2.forms.TextField('coderwall', label='Coderwall')

@@ -341,61 +341,278 @@
     
-github = tw2.forms.TextField('github', label='GitHub'
+# I just made github a hidden field because removing it broke%0A        # the code. I believe other code gets data from it. Anyway, the%0A        # user doesn't need to fill it out anymore because OAuth has%0A        # been implemented.%0A        github = tw2.forms.HiddenField(
 )%0A  

remove github username field from main view