Sha256: f3a5f1edd424108396be5817ad12c9bfa86d904c1e9b86e5d3a18d535dcf0fb5
Contents?: true
Size: 510 Bytes
Versions: 5
Compression:
Stored size: 510 Bytes
Contents
module SketchilyTag module ActionViewBaseInstanceMethods def sketchily_tag(name, value = nil, options = {}) Sketchily.render(:partial => "sketchily/sketchily_tag", :locals => {:name => name, :id => sanitize_to_id(name), :value => value, :options => options}).html_safe end def svg_edit_tag(name, value = nil, options = {}) sketchily_tag(name, value, options) end end end ActionView::Base.send :include, SketchilyTag::ActionViewBaseInstanceMethods
Version data entries
5 entries across 5 versions & 1 rubygems