Sha256: ff6f07e61c79ce2f0c0f055aa3049e38122978f085c4e2edb85185d0c2e2ca8f

Contents?: true

Size: 215 Bytes

Versions: 7

Compression:

Stored size: 215 Bytes

Contents

module Viewable
  class FormPresenter < ViewPresenter
    def initialize(model, context)
      super
      if m.not_static?
        h.cms_form_instance = m.fetch_row(h.cms_form_instance)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rails_admin_cms-0.1.1 app/presenters/viewable/form_presenter.rb
rails_admin_cms-0.0.9 app/presenters/viewable/form_presenter.rb
rails_admin_cms-0.0.7 app/presenters/viewable/form_presenter.rb
rails_admin_cms-0.0.6 app/presenters/viewable/form_presenter.rb
rails_admin_cms-0.0.5 app/presenters/viewable/form_presenter.rb
rails_admin_cms-0.0.4 app/presenters/viewable/form_presenter.rb
rails_admin_cms-0.0.3 app/presenters/viewable/form_presenter.rb