Functional tests now work properly, bearing in mind whether a user is logged in or...
[depot.git] / app / helpers / store_helper.rb
1 module StoreHelper
2
3 def hidden_div_if(condition, attributes = {}, &block)
4 if condition
5 attributes["style"] = "display: none"
6 end
7 content_tag("div", attributes, &block)
8 end
9
10 end