From bc2e98bd0be4dc98f0a9f606a5af23633f8af7f3 Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Fri, 4 Jul 2014 22:09:54 +0530 Subject: fixed css compatibility with bootstrap --- job_portal.module | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'job_portal.module') diff --git a/job_portal.module b/job_portal.module index 87c3c0d..eaea02e 100644 --- a/job_portal.module +++ b/job_portal.module @@ -31,7 +31,7 @@ "#title" => t("Job Position"), "#description" => t("Select the position for which you are applying."), "#options" => get_jobs_available("options"), - "#empty_value" => "Select a position", + "#empty_option" => t("--- Select a position ---"), "#required" => TRUE, ); $form["wrapper"]["name"] = array( @@ -122,6 +122,8 @@ ->condition("id", $v["position"]) ->execute()->fetchObject(); $emails = $emails->notify; + $position = get_jobs_available("options"); + $position = $position[$v["position"]]; /* preparing to send mail */ $from = "jayaram@iitb.ac.in"; @@ -131,7 +133,7 @@ $subject = "Job Application - Python Developer"; $message = "
{$v['name']} has applied for - the post of Python Developer.
+ the post of {$position}.Name | {$v['name']} |
Contact | {$v['contact']} |