diff options
author | Sashi20 | 2020-05-19 11:00:30 +0530 |
---|---|---|
committer | Sashi20 | 2020-05-19 11:00:30 +0530 |
commit | 6d7dd27bb952db535ae095b5b27b33eeb993a034 (patch) | |
tree | 9ddd05356ab80bbb1ac9784d5888ae9c2d37325b /manage_proposal.inc | |
parent | 5c25d80bfa7020afa72c53ee3ef75a1a86e8e613 (diff) | |
download | arduino_projects_blog-6d7dd27bb952db535ae095b5b27b33eeb993a034.tar.gz arduino_projects_blog-6d7dd27bb952db535ae095b5b27b33eeb993a034.tar.bz2 arduino_projects_blog-6d7dd27bb952db535ae095b5b27b33eeb993a034.zip |
Add step submission and manage step submission forms
Diffstat (limited to 'manage_proposal.inc')
-rwxr-xr-x | manage_proposal.inc | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc index f4c3508..5dbb985 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -707,19 +707,6 @@ function arduino_projects_blog_proposal_edit_form($form, &$form_state) return; } $user_data = user_load($proposal_data->uid); - $form['name_title'] = array( - '#type' => 'select', - '#title' => t('Title'), - '#options' => array( - 'Dr' => 'Dr', - 'Prof' => 'Prof', - 'Mr' => 'Mr', - 'Mrs' => 'Mrs', - 'Ms' => 'Ms' - ), - '#required' => TRUE, - '#default_value' => $proposal_data->name_title - ); $form['contributor_name'] = array( '#type' => 'textfield', '#title' => t('Name of the Proposer'), @@ -733,20 +720,6 @@ function arduino_projects_blog_proposal_edit_form($form, &$form_state) '#title' => t('Email'), '#markup' => $user_data->mail ); - $form['month_year_of_degree'] = array( - '#type' => 'date_popup', - '#title' => t('Month and year of award of degree'), - '#date_label_position' => '', - '#description' => '', - '#default_value' => $proposal_data->month_year_of_degree, - '#date_format' => 'M-Y', - '#date_increment' => 0, - '#date_year_range' => '1960:+0', - '#datepicker_options' => array( - 'maxDate' => 0 - ), - '#required' => FALSE - ); $form['university'] = array( '#type' => 'textfield', '#title' => t('University/Institute'), @@ -865,13 +838,13 @@ else{ '#required' => TRUE, '#default_value' => $proposal_data->project_title ); - $form['description'] = array( + $form['abstract'] = array( '#type' => 'textarea', '#title' => t('Description of the Project'), '#size' => 250, '#maxlength' => 250, '#required' => TRUE, - '#default_value' => $proposal_data->description + '#default_value' => $proposal_data->abstract ); $form['reference'] = array( '#type' => 'textarea', |