Sha256: 807851df5be1e421068607b70ba66c28ea37c368ffda4ba952e1273d33c594e8

Contents?: true

Size: 479 Bytes

Versions: 5

Compression:

Stored size: 479 Bytes

Contents

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

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

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

Version data entries

5 entries across 5 versions & 1 rubygems

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