Module StoreHelper
In: app/helpers/store_helper.rb

Methods

Public Instance methods

[Source]

   # File app/helpers/store_helper.rb, line 2
2:   def hidden_div_if(condition, attributes = {})
3:     if condition
4:       attributes["style"] = "display: none"
5:     end
6:     attrs = tag_options(attributes.stringify_keys)
7:     "<div #{attrs}>"
8:   end

[Validate]