You are here

function theme_cloze_user_answer in Cloze 6

Same name and namespace in other branches
  1. 7 theme/cloze.theme.inc \theme_cloze_user_answer()
1 theme call to theme_cloze_user_answer()
ClozeResponse::getReportFormResponse in ./cloze.classes.inc
Implementation of getReportFormResponse

File

theme/cloze.theme.inc, line 42
Theme functions for cloze.

Code

function theme_cloze_user_answer($answer, $correct) {
  $header = array(
    t('Correct Answer'),
    t('User Answer'),
  );
  $row = array(
    array(
      $correct,
      $answer,
    ),
  );
  return theme('table', $header, $row);
}