Module: FidelityHelper
- Defined in:
- app/helpers/fidelity_helper.rb
Instance Method Summary collapse
Instance Method Details
#fidelity_for(options = {}, &block) ⇒ Object
2 3 4 5 6 7 |
# File 'app/helpers/fidelity_helper.rb', line 2 def fidelity_for ={}, &block width = [:width] || 800 content_tag('div', :class => 'container', :style => "width:#{width}px") do yield Fidelity::Builder.new(self, &block) if block_given? end end |