class ActionView::Helpers::Tags::PrometheeEditor
Public Instance Methods
render()
click to toggle source
# File lib/promethee/core_ext/tags.rb, line 8 def render @options[:master_data] = object.send @method_name unless object.nil? @options[:master_data] = @options[:value] if @options.key?(:value) @options[:disable_page_attributes] ||= false @template_object.render partial: 'promethee/edit', locals: @options end