Sha256: 83cf21380bb183fbc80d1fed7b7d5c93a25b9f4d669efb5e30f2abbfb7912ccc

Contents?: true

Size: 411 Bytes

Versions: 1

Compression:

Stored size: 411 Bytes

Contents

module UcbRails::Admin::UsersHelper
  
  def link_to_new_user
    '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

1 entries across 1 versions & 1 rubygems

Version Path
ucb_rails-0.0.8 app/helpers/ucb_rails/admin/users_helper.rb