Sha256: 9bf9d1928e45ab16b84a07019ca327ebf3a1391b96796f3da92c62a47a1be809

Contents?: true

Size: 342 Bytes

Versions: 5

Compression:

Stored size: 342 Bytes

Contents

include_set Abstract::AccountField
include_set Abstract::Pointer

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

5 entries across 5 versions & 1 rubygems

Version Path
card-mod-account-0.14.2 set/right/status.rb
card-mod-account-0.14.1 set/right/status.rb
card-mod-account-0.14.0 set/right/status.rb
card-mod-account-0.13.4 set/right/status.rb
card-mod-account-0.13.3 set/right/status.rb