Fix bug.
This commit is contained in:
parent
c913d5a346
commit
1100e57961
|
@ -448,7 +448,7 @@ protected
|
||||||
plc = typeD["placeholder"][I18n.locale].to_s.blank? ? nil : "(#{typeD["placeholder"][I18n.locale]})"
|
plc = typeD["placeholder"][I18n.locale].to_s.blank? ? nil : "(#{typeD["placeholder"][I18n.locale]})"
|
||||||
label_tag(key, '' , :class=>"col-sm-2 control-label muted") do
|
label_tag(key, '' , :class=>"col-sm-2 control-label muted") do
|
||||||
concat (!@require.blank? ? '*'+title : title)
|
concat (!@require.blank? ? '*'+title : title)
|
||||||
if nil
|
if plc
|
||||||
concat tag(:br)
|
concat tag(:br)
|
||||||
concat plc
|
concat plc
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue