Project

General

Profile

Download (524 Bytes) Statistics
| Branch: | Tag: | Revision:
b689e231 Marc Dequènes (Duck)
module HtmlBuilderHelper
def stacking_table(caption = nil, html_options = {}, &block)
HtmlBuilder::StackingTable.new(caption, html_options).build(&block)
end

def stacking_form(form, caption = nil, html_options = {}, &block)
HtmlBuilder::StackingForm.new(self, form, caption, html_options).build(&block)
end

def conditional_form_block(form, tag_id, obj, field, condition = "value != ''", &block)
HtmlBuilder::ConditionalFormBlock.new(self, form, tag_id, obj, field, condition).build(&block)
end
end