profile_search_block.rb 290 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 class ProfileSearchBlock < Block def self.description _('Display a form to search the profile') end def content title = self.title lambda do render :file => 'blocks/profile_search', :locals => { :title => title } end end def editable? true end end