View source: R/mod_get_mistakes.R
This module register the mistakes in a reactive value data frame each time the ruse presses the mistake_submitted button. It also prepares the data frame to be displayed to the user and reintialize the form. TODO : Refacto this functio for single responsability and functionalize the rendering of the mistake form.
1 | mod_register_mistake(input, output, session, mistake_submitted, input_val)
|
session |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.