Sha256: 42ba948dd64ca95f0ad02b5dfa281817c883804f0adfaebcfddc45bea9fe9464

Contents?: true

Size: 439 Bytes

Versions: 5

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

class Admin::Tramway::Landing::FormForm < Tramway::ApplicationForm
  association :block

  properties :title, :url, :form_name, :position

  def initialize(object)
    super(object).tap do
      form_properties block: :association,
                      title: :string,
                      url: :string,
                      form_name: :default,
                      position: :integer
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
tramway-landing-3.3.0.11 app/forms/admin/tramway/landing/form_form.rb
tramway-landing-3.3.0.10 app/forms/admin/tramway/landing/form_form.rb
tramway-landing-3.3.0.9 app/forms/admin/tramway/landing/form_form.rb
tramway-landing-3.3.0.8 app/forms/admin/tramway/landing/form_form.rb
tramway-landing-3.3.0.7 app/forms/admin/tramway/landing/form_form.rb