'Fill in the textbox and submit a new hint'

def submit_new_hint(self, text):

    self.q(css='.csh_student_hint_creation    input[type="button"]').click()
    self.wait_for_ajax()
    self.q(css='.csh_student_text_input    input[type="text"]').fill(text)
    self.q(css='.csh_submit_new    input[type="button"]').click()
    self.wait_for_ajax()
