Sha256: 18b150c1bae9b448174c67736324073c2a3be1a5e68254c5e06443b1d7ae55e0

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 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 # TODO only if necessary!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
udongo-0.1.0 app/forms/backend/page_translation_form.rb