Sha256: 898e29e5b21e5986ad655509710ba74137cceac0b939d0e0fa72aff08d326d2d

Contents?: true

Size: 362 Bytes

Versions: 9

Compression:

Stored size: 362 Bytes

Contents

include_set Abstract::AccountField
include_set Abstract::List

assign_type :phrase

format :html do
  def input_type
    :radio
  end
end

def option_names
  %w[unapproved unverified active blocked] # system
end

def ok_to_update
  if own_account? && !Auth.always_ok?
    deny_because you_cant(t(:account_deny_not_change_own_account))
  else
    super
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
card-mod-account-0.16.0 set/right/status.rb
card-mod-account-0.15.6 set/right/status.rb
card-mod-account-0.15.5 set/right/status.rb
card-mod-account-0.15.4 set/right/status.rb
card-mod-account-0.15.3 set/right/status.rb
card-mod-account-0.15.2.pre1 set/right/status.rb
card-mod-account-0.15.1.1 set/right/status.rb
card-mod-account-0.15.1 set/right/status.rb
card-mod-account-0.15.0 set/right/status.rb