Sha256: c9ddf8fbf7956dceda27b1f9700d8364feb5c88914ca786e3e4263f29d861585

Contents?: true

Size: 610 Bytes

Versions: 5

Compression:

Stored size: 610 Bytes

Contents

<% # Clients of this partial must supply the following variables:
   # template
   # object_name
   # method
   # options %>

<% sketchily_tag = ActionView::Helpers::InstanceTag.new(object_name, method, template, options.delete(:object)) %>

<%= render :partial => "sketchily/embed",
           :formats => :html,
           :locals => options.slice(*Sketchily::OPTIONS).merge(
                        {:id => sketchily_tag.send(:tag_id),
                         :value => sketchily_tag.value(sketchily_tag.object)}) %>

<%= sketchily_tag.to_input_field_tag("hidden", options.except(*Sketchily::OPTIONS)) %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sketchily-1.0.3 app/views/sketchily/_sketchily.html.erb
sketchily-1.0.2 app/views/sketchily/_sketchily.html.erb
sketchily-1.0.1 app/views/sketchily/_sketchily.html.erb
sketchily-1.0.0 app/views/sketchily/_sketchily.html.erb
sketchily-0.3.0 app/views/sketchily/_sketchily.html.erb