Sha256: aa2bc0f0b286474fbfa50ae0e2de5242fa956937b19506243e96876fc17e7566

Contents?: true

Size: 289 Bytes

Versions: 60

Compression:

Stored size: 289 Bytes

Contents

module MuckUsers
  module FormBuilder

    # 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
end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
muck-users-3.2.25 lib/muck-users/form_builder.rb
muck-users-3.2.24 lib/muck-users/form_builder.rb
muck-users-3.2.23 lib/muck-users/form_builder.rb
muck-users-3.2.22 lib/muck-users/form_builder.rb
muck-users-3.2.21 lib/muck-users/form_builder.rb
muck-users-3.2.20 lib/muck-users/form_builder.rb
muck-users-3.2.19 lib/muck-users/form_builder.rb
muck-users-3.2.18 lib/muck-users/form_builder.rb
muck-users-3.2.17 lib/muck-users/form_builder.rb
muck-users-3.2.16 lib/muck-users/form_builder.rb
muck-users-3.2.15 lib/muck-users/form_builder.rb
muck-users-3.2.14 lib/muck-users/form_builder.rb
muck-users-3.2.13 lib/muck-users/form_builder.rb
muck-users-3.2.12 lib/muck-users/form_builder.rb
muck-users-3.2.11 lib/muck-users/form_builder.rb
muck-users-3.2.10 lib/muck-users/form_builder.rb
muck-users-3.2.9 lib/muck-users/form_builder.rb
muck-users-3.2.8 lib/muck-users/form_builder.rb
muck-users-3.2.7 lib/muck-users/form_builder.rb
muck-users-3.2.6 lib/muck-users/form_builder.rb