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

Version Path
muck-users-0.3.20 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.19 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.18 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.17 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.16 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.15 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.14 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.13 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.12 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.11 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.10 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.9 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.8 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.7 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.6 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.4 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.3 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.2 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.1 lib/muck_users/muck_custom_form_builder.rb
muck-users-0.3.0 lib/muck_users/muck_custom_form_builder.rb