Sha256: 1673e56c9883d147b7dd3ad0e0f8d6b61571b1ce0a802fa10f69cbd3b009e52a
Contents?: true
Size: 885 Bytes
Versions: 1
Compression:
Stored size: 885 Bytes
Contents
<% # Clients of this partial must supply the following variables: # template # object_name # method # options %> <% method_draw_tag = Rails::VERSION::MAJOR >= 4 ? ActionView::Helpers::Tags::HiddenField.new(object_name, method, template, options.except(*MethodDraw::METHOD_DRAW_OPTIONS)) : ActionView::Helpers::InstanceTag.new(object_name, method, template, options.delete(:object)) options = {:id => method_draw_tag.send(:tag_id), :value => method_draw_tag.send(:value, method_draw_tag.object)}.merge(options) %> <%= render :partial => "method_draw/embed", :formats => :html, :locals => options.slice(*MethodDraw::OPTIONS) %> <%= Rails::VERSION::MAJOR >= 4 ? method_draw_tag.render : method_draw_tag.to_input_field_tag("hidden", options.except(*MethodDraw::METHOD_DRAW_OPTIONS)) %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
method_draw-0.0.1 | app/views/method_draw/_method_draw.html.erb |