Sha256: 25608a2f10606405ae1662e70ff0bd9af91a3ac8b075edf6a16afee40ad42931
Contents?: true
Size: 336 Bytes
Versions: 20
Compression:
Stored size: 336 Bytes
Contents
module MuckUsersCustomFormBuilder # creates a select control with roles def roles_select(method, options = {}, html_options = {}) self.select(method, Role.by_alpha, options.merge(:wrapper_id => 'roles-container'), html_options.merge(:id => 'roles')) end end MuckCustomFormBuilder.send :include, MuckUsersCustomFormBuilder
Version data entries
20 entries across 20 versions & 1 rubygems