Sha256: c911cfb02df6ac6cb6bada157cb5379fbdc5a26864b71ac0441cca3689e95f00

Contents?: true

Size: 664 Bytes

Versions: 16

Compression:

Stored size: 664 Bytes

Contents

module Admin
  class InstallmentPresenter < Carnival::BaseAdminPresenter

    field :id,
          :actions => [:index, :show], :sortable => false,
          :searchable => true,
          :advanced_search => {:operator => :equal}
    field :name,
          :actions => [:index, :new, :edit, :show],
          :searchable => true,
          :advanced_search => {:operator => :like}
    field :credit_cards,
          :actions => [:index, :show, :edit, :new],
          :nested_form => true, 
          :nested_form_allow_destroy => true,
          :nested_form_modes => [:associate]

    action :show
    action :edit
    action :destroy
    action :new

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
carnival-0.0.59 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.58 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.57 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.56 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.55 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.54 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.53 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.52 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.51 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.50 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.49 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.48 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.47 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.45 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.44 test/dummy/app/presenters/admin/installment_presenter.rb
carnival-0.0.43 test/dummy/app/presenters/admin/installment_presenter.rb