|
@@ -2,7 +2,7 @@
|
|
|
/* For licensing terms, see /license.txt */
|
|
|
|
|
|
/**
|
|
|
- * Form element to select a date and hour (with popup datepicker)
|
|
|
+ * Form element to select a date and hour.
|
|
|
*/
|
|
|
class DateTimePicker extends HTML_QuickForm_text
|
|
|
{
|
|
@@ -14,7 +14,7 @@ class DateTimePicker extends HTML_QuickForm_text
|
|
|
if (!isset($attributes['id'])) {
|
|
|
$attributes['id'] = $elementName;
|
|
|
}
|
|
|
-
|
|
|
+ $attributes['class'] = 'form-control';
|
|
|
HTML_QuickForm_element::HTML_QuickForm_element($elementName, $elementLabel, $attributes);
|
|
|
$this->_appendName = true;
|
|
|
$this->_type = 'date_time_picker';
|