summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-04-24 18:50:17 +0530
committerGitHub2020-04-24 18:50:17 +0530
commitfb71aad70baf3a109eaa5b1042aa1e2357e92133 (patch)
tree0caecc8d66603f50d50fdd5d36d83eabe6892d1f
parentbc7e87e60ec111648dbaf8b2758273ab23c28a8e (diff)
parentd7e4448680bd1cd8de3c22b76416a2f6b27562be (diff)
downloadr_textbook_companion-fb71aad70baf3a109eaa5b1042aa1e2357e92133.tar.gz
r_textbook_companion-fb71aad70baf3a109eaa5b1042aa1e2357e92133.tar.bz2
r_textbook_companion-fb71aad70baf3a109eaa5b1042aa1e2357e92133.zip
Merge pull request #31 from Sashi20/drupal_7.x
Update reason for disapproval to textarea
-rwxr-xr-xcode_approval.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/code_approval.inc b/code_approval.inc
index e6a9519..cdb5b32 100755
--- a/code_approval.inc
+++ b/code_approval.inc
@@ -158,7 +158,9 @@ function code_approval_form($form, &$form_state)
)
);
$form['example_details'][$example_data->id]['message'] = array(
- '#type' => 'textfield',
+ '#type' => 'textarea',
+ '#size' => 255,
+ '#maxlength' => 255,
'#title' => t('Reason for dis-approval')
);
$form['example_details'][$example_data->id]['example_id'] = array(