Sha256: 7e59ab4988bab7fc9c2a744fbf30f9c20b0e95b1fe051c343ce853abfe6fc852

Contents?: true

Size: 445 Bytes

Versions: 2

Compression:

Stored size: 445 Bytes

Contents

<% # Clients of this partial must supply the following variables:
   # name
   # id
   # value
   # options %>

<% options = {:id => id,
              :value => value}.merge(options) %>

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

<%= tag :input, {"type" => "hidden", "name" => name}.update(options.except(*Sketchily::SKETCHILY_OPTIONS).stringify_keys) %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sketchily-4.0.1 app/views/sketchily/_sketchily_tag.html.erb
sketchily-4.0.0 app/views/sketchily/_sketchily_tag.html.erb