Sha256: a599d0fc32d096034eb2206527797d427d478336af296f329002ef304af5a06f

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

class Backend::PageTranslationForm < Reform::Form
  include Composition

  model :page

  property :title, on: :translation
  property :subtitle, on: :translation

  property :seo_title, on: :seo
  property :seo_keywords, on: :seo
  property :seo_description, on: :seo
  property :seo_custom, on: :seo
  property :seo_slug, on: :seo

  validates :title, presence: true
  validates :seo_slug, presence: true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
udongo-2.0.0 app/forms/backend/page_translation_form.rb
udongo-1.0.4 app/forms/backend/page_translation_form.rb
udongo-1.0.3 app/forms/backend/page_translation_form.rb
udongo-1.0.2 app/forms/backend/page_translation_form.rb
udongo-1.0.1 app/forms/backend/page_translation_form.rb
udongo-1.0.0 app/forms/backend/page_translation_form.rb