Sha256: ffc984f430ef6e0e210053110250c47f3f5d35bb40f485bff2ad52bcf9c35056

Contents?: true

Size: 418 Bytes

Versions: 1

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

class SunriseFeedbackReason < Sunrise::AbstractModel
  self.resource_name = 'FeedbackReason'

  available_index_views [:thumbs]

  index :thumbs do
    # field :title
    field :sort_order
  end

  show :thumbs do
    field :title
    field :notes
    field :sort_order
  end

  form do
    field :title, translate: true
    field :notes, translate: true
    field :sort_order
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
translation_cms-0.1.5 app/sunrise/sunrise_feedback_reason.rb