function audit_comment_form

6.x audit.module audit_comment_form($student_id, $faculty_id)

File

modules/audit/audit.module, line 577
This is the Audit module, which provides functionality relating to degree audits.

Code

function audit_comment_form($student_id, $faculty_id) {

  $form = array();


  $form ["student_id"] = array(
    "type" => "hidden",
    "value" => $student_id,
  );

  $form ["faculty_id"] = array(
    "type" => "hidden",
    "value" => $faculty_id,
  );


  $form ["comment"] = array(
    "type" => "textarea",
  );

  $form ["submit"] = array(
    "type" => "submit",
    "value" => t("Save"),
  );

  return $form;
}