From bcc8e66ee9b2df6f73bc7415e31aee0c6ca49bc4 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Wed, 24 Aug 2016 11:46:59 +0530 Subject: added note to upload code --- editcode.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editcode.inc b/editcode.inc index 8cf51eb..cbd806b 100755 --- a/editcode.inc +++ b/editcode.inc @@ -216,6 +216,11 @@ function upload_examples_edit_form($form, $form_state) '#title' => t('Existing Main or Source File'), '#markup' => $source_file ); + $form['sourcefile']['source_file_action_note'] = array( + '#type' => 'item', + '#title' => t('Note:'), + '#markup' => t("Use Replace option to upload your corrected code. Do not delete the example if your book is under review, you can always edit and upload it by the Replace option.") + ); $form['sourcefile']['source_file_action'] = array( '#type' => 'radios', '#options' => array( -- cgit