We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7577ead + 553cba7 commit bad3343Copy full SHA for bad3343
templates/datepicker.php
@@ -17,7 +17,7 @@ class="fm-element fm-datepicker-popup"
17
:
18
<input class="fm-element fm-datepicker-time" type="text" value="<?php echo esc_attr( $this->get_minute( $value ) ); ?>" name="<?php echo esc_attr( $this->get_form_name( '[minute]' ) ); ?>" />
19
<?php if ( $this->use_am_pm ): ?>
20
- <select class="fm-element" name="<?php echo esc_attr( $this->get_form_name( '[ampm]' ) ); ?>" />
+ <select class="fm-element" name="<?php echo esc_attr( $this->get_form_name( '[ampm]' ) ); ?>">
21
<option value="am"<?php selected( $this->get_am_pm( $value ), 'am' ) ?>>A.M.</option>
22
<option value="pm"<?php selected( $this->get_am_pm( $value ), 'pm' ) ?>>P.M.</option>
23
</select>
0 commit comments