From 62ed20a354828df60cd84921fb21046c8a09827d Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Wed, 25 May 2016 23:00:30 +1000 Subject: [PATCH] add css --- booking.emails.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/booking.emails.inc b/booking.emails.inc index 5c233e2..dbcc26e 100644 --- a/booking.emails.inc +++ b/booking.emails.inc @@ -16,7 +16,6 @@ function booking_manual_email() $email_options_array['missedpayment'] = 'Missed Payment Email'; $email_options_array['travelrequired'] = 'Travel Form Required Email'; $email_options_array['travelcomplete'] = 'Travel Form Complete Email'; - //add in the custom email types for ($i = 1; $i <= variable_get('booking_custom_email_count','5'); $i++) @@ -24,6 +23,10 @@ function booking_manual_email() $email_options_array['custom' . $i] = variable_get('booking_email_subject_custom' . $i, $event->booking_eventname . ' custom ' . $i); } + $form['#attached']['css'] = array( + drupal_get_path('module', 'booking') . '/booking.css', + ); + $form['email-type'] = array( '#type' => 'select', '#title' => t('Email Type'),