<% if flash[:error] %>
×
<%= flash[:error] %>
<% end %>
<%
imagecontent = ''
if @ContactList && @ContactList.smc_image!=nil && @ContactList.smc_image!=''
path_to_file = Rails.root.join "public", "images", "pagecontent",@ContactList.smc_image.to_s
if File.exist?(path_to_file)
imagecontent = "#{root_url}images/pagecontent/"+@ContactList.smc_image
end
end
%>
<%
if imagecontent!=nil && imagecontent!=''
%>

<% else %>

<% end %>