Sha256: e8b66548214a78de1decf7624d6e4ccea63e42e8443b4b4bf4e87423a274a7f7

Contents?: true

Size: 475 Bytes

Versions: 66

Compression:

Stored size: 475 Bytes

Contents

class Gemini::XyzRuleView < Marty::DeloreanRuleView
  has_marty_permissions create: :admin,
                        read: :admin,
                        update: :admin,
                        delete: :admin
  def self.klass
    Gemini::XyzRule
  end

  def configure(c)
    super
    c.title = 'Xyz Rules'
  end

  def default_form_items
    super
  end
  self.init_fields

  attribute :rule_type do |c|
    c.width = 200
    enum_column(c, Gemini::XyzRuleType)
  end

end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
marty-2.6.8 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.7 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.6 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.5 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.4 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.3 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.2 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.1 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.6.0 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.9 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.8 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.7 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.6 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.5 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.4 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.2 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.1 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.5.0 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.4.9 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.4.8 spec/dummy/app/components/gemini/xyz_rule_view.rb