Class: Skyline::Editors::InlineList
- Inherits:
-
Editor
- Object
- Editor
- Skyline::Editors::InlineList
- Defined in:
- app/helpers/skyline/editors/inline_list.rb
Instance Method Summary collapse
Instance Method Details
#output ⇒ Object
4 5 6 7 8 |
# File 'app/helpers/skyline/editors/inline_list.rb', line 4 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 |
#postpone? ⇒ Boolean
2 |
# File 'app/helpers/skyline/editors/inline_list.rb', line 2 def postpone?; true; end |