Methods

ApplicationHelper

Public Instance Methods

hidden_div_if(condition, attributes = {}, &block) click to toggle source
   # File app/helpers/application_helper.rb, line 2
2:   def hidden_div_if(condition, attributes = {}, &block)

3:     if condition

4:       attributes["style"] = "display: none"

5:     end

6:       content_tag("div", attributes, &block)

7:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.