diff --git a/templates/CRM/Event/Form/Task/Batch.tpl b/templates/CRM/Event/Form/Task/Batch.tpl
index 5e1e6df9f93e..883c7af87b92 100644
--- a/templates/CRM/Event/Form/Task/Batch.tpl
+++ b/templates/CRM/Event/Form/Task/Batch.tpl
@@ -73,8 +73,36 @@
{$details.$pid.title} |
{foreach from=$fields item=field key=fieldName}
{assign var=n value=$field.name}
- {if ( $n eq 'participant_register_date' ) }
- {include file="CRM/common/jcalendar.tpl" elementName=$n elementIndex=$pid batchUpdate=1} |
+
+ {* CRM-19860 Copied from templates/CRM/Contact/Form/Task/Batch.tpl *}
+ {if $field.options_per_line}
+
+ {assign var="count" value="1"}
+ {strip}
+
+ {/strip}
+ |
+ {elseif ( $n eq 'participant_register_date' ) }
+ {include file="CRM/common/jcalendar.tpl" elementName=$n elementIndex=$pid batchUpdate=1} |
{else}
{$form.field.$pid.$n.html} |
{/if}