submit_lab_btn: Add a button to submit the lab.

submit_lab_btnR Documentation

Add a button to submit the lab.

Description

A name input needs to be placed before the submit button using lab_name_input().

Usage

submit_lab_btn(
  label = "Download answers",
  filename = "lab_answers.md",
  require_validation = TRUE,
  render_html = FALSE
)

Arguments

label

button label

filename

name of the file offered to the user for download. The file extension is irrelevant.

require_validation

create a markdown file with validation information.

render_html

directly render the lab as HTML instead of outputting a markdown file. If TRUE, validation metadata cannot be included.


dakep/stat305templates documentation built on Nov. 27, 2022, 8:23 a.m.