Skip to content

Instantly share code, notes, and snippets.

@tboerger
Created May 8, 2014 09:39
= attributes_for @proposal do
.panel-sub
= header dep_raw, true
module MyHelper
def attributes_for(proposal, &block)
attribute = Dsl::Proposal::Attribute.new(proposal, self)
block.bind(attribute).call
""
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment