Sha256: f3ff9fd3bc0df3c701907ee084b0c843783cf40a776c3e7274e54291d2f11c93

Contents?: true

Size: 671 Bytes

Versions: 3

Compression:

Stored size: 671 Bytes

Contents

module Adminpanel
  class Auth < ActiveRecord::Base
    include Adminpanel::Base

    def self.form_attributes
      [
        {
          'name' => {
            'type' => 'text_field',
            'label' => 'Cuenta:'
          }
        },
        {
          'value' => {
            'type' => 'wysiwyg_field',
            'show' => 'show',
            'label' => 'Access Key'
          }
        },
        {
          'key' => {
            'type' => 'text_field',
            'show' => 'show',
            'label' => 'Llave'
          }
        }
      ]
    end

    def self.icon
      'cubes'
    end

    def self.display_name
      'Cuenta'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
adminpanel-2.1.7 app/models/adminpanel/auth.rb
adminpanel-2.1.6 app/models/adminpanel/auth.rb
adminpanel-2.1.5 app/models/adminpanel/auth.rb