Sha256: 7468be878a46429aa5a31663f35f8339700df77eae04ab9922db6026f530999e

Contents?: true

Size: 442 Bytes

Versions: 7

Compression:

Stored size: 442 Bytes

Contents

class Skyline::Editors::InlineList < Skyline::Editors::Editor
  def postpone?; true; end
        
  def output
    klass = field.reflection.klass
    add_link = render(:partial => "add", :locals => {:klass => klass, :record => record, :field => field, :return_to => url_for({})})
    heading + add_link + Presenters::Presenter.create(field.presenter,field.value(record),klass,@template, :collection => field.attribute_name).output()
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
skylinecms-3.3.0 app/helpers/skyline/editors/inline_list.rb
skylinecms-3.2.0 app/helpers/skyline/editors/inline_list.rb
skylinecms-3.1.0 app/helpers/skyline/editors/inline_list.rb
westarete-skylinecms-3.0.8.20100329 app/helpers/skyline/editors/inline_list.rb
westarete-skylinecms-3.0.8.20100330 app/helpers/skyline/editors/inline_list.rb
skylinecms-3.0.8 app/helpers/skyline/editors/inline_list.rb
skylinecms-3.0.7 app/helpers/skyline/editors/inline_list.rb