class ActionView::Helpers::Tags::PrometheeEditor

github.com/rails/rails/blob/bdc581616b760d1e2be3795c6f0f3ab4b1e125a5/actionview/lib/action_view/helpers/tags/text_field.rb

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