Sha256: 5910405cb59309af4887cc8b1ff25981357fc3b9ddbbe34e2a6bba271e619cd1

Contents?: true

Size: 583 Bytes

Versions: 5

Compression:

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

<%= 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~