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