Sha256: e1ffc2e60c89e2e37b3ea7ee6f6d55d0ddd57787e416481b44fe880ac440212b

Contents?: true

Size: 400 Bytes

Versions: 27

Compression:

Stored size: 400 Bytes

Contents

require 'marty/new_posting_form'

class Marty::NewPostingWindow < Netzke::Window::Base
  def configure(c)
    super

    c.title        = I18n.t('new_posting')
    c.modal        = true
    c.items        = [:new_posting_form]
    c.layout       = 'fit'
    c.lazy_loading = true
  end

  component :new_posting_form do |c|
    c.header = false
  end

end

NewPostingWindow = Marty::NewPostingWindow

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
marty-2.3.8 app/components/marty/new_posting_window.rb
marty-2.3.7 app/components/marty/new_posting_window.rb
marty-2.3.5 app/components/marty/new_posting_window.rb
marty-2.3.4 app/components/marty/new_posting_window.rb
marty-2.3.2 app/components/marty/new_posting_window.rb
marty-2.3.1 app/components/marty/new_posting_window.rb
marty-2.3.0 app/components/marty/new_posting_window.rb