Sha256: 2c928072c3d1abad0084872075e2af29761854d9210708ae15d82b59ce49b93d

Contents?: true

Size: 605 Bytes

Versions: 6

Compression:

Stored size: 605 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))
   options = {:id => sketchily_tag.send(:tag_id),
              :value => sketchily_tag.value(sketchily_tag.object)}.merge(options) %>

<%= render :partial => "sketchily/embed",
           :formats => :html,
           :locals => options.slice(*Sketchily::OPTIONS) %>

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
sketchily-1.5.0 app/views/sketchily/_sketchily.html.erb
sketchily-1.4.1 app/views/sketchily/_sketchily.html.erb
sketchily-1.4.0 app/views/sketchily/_sketchily.html.erb
sketchily-1.3.0 app/views/sketchily/_sketchily.html.erb
sketchily-1.2.0 app/views/sketchily/_sketchily.html.erb
sketchily-1.1.0 app/views/sketchily/_sketchily.html.erb