Sha256: ed02209bb353a11054a2ef83fdfaa1a8c31d362a3f4443317d65b483c17cf2b6

Contents?: true

Size: 275 Bytes

Versions: 23

Compression:

Stored size: 275 Bytes

Contents

module TypeStation
  class AdminBarPresenter < Presenter
    presents :page

    form_field :title, type: :text, label: 'Title'
    form_field :status, type: :select, label: 'Status', options: [['Hidden', 'hidden'], ['Draft', 'draft'], ['Published', 'published']]

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
type_station-0.7.0 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.6.0 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.5.4 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.5.3 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.5.2 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.5.1 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.7 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.6 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.5 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.4 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.3 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.2 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.1 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.4.0 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.3.4 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.3.3 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.3.2 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.3.1 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.3.0 app/presenters/type_station/admin_bar_presenter.rb
type_station-0.2.3 app/presenters/type_station/admin_bar_presenter.rb