Sha256: c561fd25571275012a3ef7c00091b85d6dfa6c2ce26250ceac55101dd44b66d9

Contents?: true

Size: 538 Bytes

Versions: 9

Compression:

Stored size: 538 Bytes

Contents

class Tramway::Landing::BlockForm < ::Tramway::Core::ApplicationForm
  properties :title, :background, :view_state, :block_type, :position, :navbar_link, :anchor, :description

  def initialize(object)
    form_object = super object
    form_properties title: :string,
                    background: :file,
                    position: :numeric,
                    block_type: :default,
                    navbar_link: :default,
                    anchor: :string,
                    description: :default
    form_object
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tramway-landing-1.1.3.1 app/forms/tramway/landing/block_form.rb
tramway-landing-1.1.3.trash.pre.3 app/forms/tramway/landing/block_form.rb
tramway-landing-1.1.3.trash.pre.2 app/forms/tramway/landing/block_form.rb
tramway-landing-1.1.3.trash app/forms/tramway/landing/block_form.rb
tramway-landing-1.1.3 app/forms/tramway/landing/block_form.rb
tramway-landing-1.1.2 app/forms/tramway/landing/block_form.rb
tramway-landing-1.1.1 app/forms/tramway/landing/block_form.rb
tramway-landing-1.1 app/forms/tramway/landing/block_form.rb
tramway-landing-1.0 app/forms/tramway/landing/block_form.rb