This commit is contained in:
BoHung Chiu 2021-09-24 12:23:59 +08:00
parent 5c2b124e28
commit 456f2b9ece
1 changed files with 1 additions and 1 deletions

View File

@ -462,7 +462,7 @@ protected
if self.markup == "text_area"
plc = typeD["placeholder"][I18n.locale].to_s.blank? ? '' : "(#{typeD["placeholder"][I18n.locale]})"
"<span style='margin-right: 0.5em;'>"+
label_tag(key,(!@require.blank? ? '*'+title : title),:class=>"col-sm-#{@col} control-label muted",:style =>'display: contents;')+
label_tag(key,(!@require.blank? ? '*'+title : title),:class=>"col-sm-#{@col} control-label muted")+
tag(:br)+"#{plc}</span>"
else
label_tag(key,(!@require.blank? ? '*'+title : title),:class=>"col-sm-#{@col} control-label muted")