profile_description_block.rb
387 Bytes
class ProfileDescriptionBlock < Block
settings_items :show_name, :type => :boolean,
:default => false
attr_accessor :show_name
def self.description
_('Profile Description')
end
def help
_('this block displays the description field of the profile')
end
def default_title
_('PROFILE DESCRIPTION')
end
def cacheable?
false
end
end