Sha256: 4252506e00b26f3ee3d1937d9d6f7843292e5191698b8058bd9c38e6ed7d9313

Contents?: true

Size: 420 Bytes

Versions: 6

Compression:

Stored size: 420 Bytes

Contents

module UcbRails::Admin::UsersHelper
  
  def link_to_new_user
    text = 'New User'
    # text = image_tag('ucb_rails/glyphicons_006_user_add.png', size: '14x14')
    button(text, :primary, 
      class: 'ldap-person-search',
      data: {
        search_url: ldap_search_ucb_rails_admin_users_path,
        result_link_url: ucb_rails_admin_users_path,
        result_link_http_method: 'post',
      }
    )
  end
  
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ucb_rails-0.0.14 app/helpers/ucb_rails/admin/users_helper.rb
ucb_rails-0.0.13 app/helpers/ucb_rails/admin/users_helper.rb
ucb_rails-0.0.12 app/helpers/ucb_rails/admin/users_helper.rb
ucb_rails-0.0.11 app/helpers/ucb_rails/admin/users_helper.rb
ucb_rails-0.0.10 app/helpers/ucb_rails/admin/users_helper.rb
ucb_rails-0.0.9 app/helpers/ucb_rails/admin/users_helper.rb