<%= infokey %> |
<% if infocontent.is_a? Array then infocontent.each do |message| %>
<%= message %>
<% end; elsif infocontent.is_a? String %>
<%= infocontent %>
<% else %>
<%= infocontent.inspect %>
<% end %>
|
<% end %>
<% elsif attrvalue.is_a? String or attrvalue.respond_to? :to_s %>