Sha256: 8f7a21f4f67b5b1fe064cb611649925f88a36a96df8ef94d7f4b0711aa7a77d8
Contents?: true
Size: 994 Bytes
Versions: 3
Compression:
Stored size: 994 Bytes
Contents
<% # Clients of this partial must supply the following variables: # name # id # value # options %> <%= render :partial => "sketchily/embed", :formats => :html, :locals => {:id => id, :value => value, :show_menu => options[:show_menu], :hide_image_tool => options[:hide_image_tool], :canvas_width => options[:canvas_width], :canvas_height => options[:canvas_height], :canvas_expansion => options[:canvas_expansion], :hide_rulers => options[:hide_rulers], :width => options[:width], :height => options[:height]} %> <%= tag :input, { "type" => "hidden", "name" => name, "id" => id, "value" => value }.update(options.except(:show_menu, :hide_image_tool, :canvas_width, :canvas_height, :canvas_expansion, :hide_rulers, :width, :height).stringify_keys) %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sketchily-0.2.0 | app/views/sketchily/_sketchily_tag.html.erb~ |
sketchily-0.1.0 | app/views/sketchily/_sketchily_tag.html.erb |
sketchily-0.0.2 | app/views/sketchily/_sketchily_tag.html.erb |