Sha256: f0b8be8573e1115086ae8a647b5d289eee59e43fabdc22e4cfe32c9da216b4be

Contents?: true

Size: 505 Bytes

Versions: 4

Compression:

Stored size: 505 Bytes

Contents

require 'marty/postings/new_form'

module Marty
  module Postings
    class NewWindow < Netzke::Window::Base
      def configure(c)
        super

        c.title        = I18n.t('new_posting')
        c.modal        = true
        c.items        = [:new_posting_form]
        c.lazy_loading = true
        c.width        = 800
        c.height       = 550
      end

      component :new_posting_form do |c|
        c.header = false
        c.klass = Marty::Postings::NewForm
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
marty-14.3.0 app/components/marty/postings/new_window.rb
marty-14.0.0 app/components/marty/postings/new_window.rb
marty-13.0.2 app/components/marty/postings/new_window.rb
marty-11.0.0 app/components/marty/postings/new_window.rb