<% if flash['surprise'] or flash['safe'] or flash['rent'] or flash['build'] or flash['locked'] or flash['lotto'] or flash['item'] or flash[:notice] %>
<% if flash['safe'] %>
<%= flash['safe'] %>
<% end %> <% if flash['build'] %>
You can buy and <%= link_to_remote "build", :update => "action_window", :url => {:action=> 'build'} %> on this property.
<% end %> <% if flash['locked'] %>
<%= flash['locked'] %>
<% end %> <% if flash['rent'] %>
<%= flash['rent'] %>
<% end %> <% if flash['lotto'] %>
<%= flash['lotto'] %>
<% end %> <% if flash['surprise'] %>
<%= flash['surprise'] %>
<% end %> <% if flash['item'] %>
<%= flash['item'] %>
<% end %> <% if flash[:notice] %>
<%= flash[:notice] %>
<% end %>
<% elsif @user.square.deed == nil and @user.square.square_type.id == 3 %>
You can buy and <%= link_to_remote "build", :update => "action_window", :url => {:controller=> 'play',:action=> 'build'} %> on this property.
<% else %>
Waiting for you to roll the dice.
<% end %>
Leave a message on this square.