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.3.1 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.3.0 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.1.4 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.1.3 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.1.2 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.1.1 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.1.0 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.9 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.8 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.7 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.6 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.5 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.4 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.3 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.2 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.1 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-2.0.0 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-1.2.9 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-1.2.8 spec/dummy/app/components/gemini/xyz_rule_view.rb
marty-1.2.7 spec/dummy/app/components/gemini/xyz_rule_view.rb