Fix bug.
This commit is contained in:
parent
5c2b124e28
commit
456f2b9ece
|
@ -462,7 +462,7 @@ protected
|
||||||
if self.markup == "text_area"
|
if self.markup == "text_area"
|
||||||
plc = typeD["placeholder"][I18n.locale].to_s.blank? ? '' : "(#{typeD["placeholder"][I18n.locale]})"
|
plc = typeD["placeholder"][I18n.locale].to_s.blank? ? '' : "(#{typeD["placeholder"][I18n.locale]})"
|
||||||
"<span style='margin-right: 0.5em;'>"+
|
"<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>"
|
tag(:br)+"#{plc}</span>"
|
||||||
else
|
else
|
||||||
label_tag(key,(!@require.blank? ? '*'+title : title),:class=>"col-sm-#{@col} control-label muted")
|
label_tag(key,(!@require.blank? ? '*'+title : title),:class=>"col-sm-#{@col} control-label muted")
|
||||||
|
|
Loading…
Reference in New Issue