Sha256: 2c0bdd484da6ea651e6e1577fbf70f68c028cd9c9400b6cee1899699369d6ee2

Contents?: true

Size: 874 Bytes

Versions: 8

Compression:

Stored size: 874 Bytes

Contents

<%= render template: 'openstax/connect/users/action_search',
           locals: {
             users: @handler_result.outputs[:users],
             list: OpenStax::Connect::ActionList.new(
                     headings: ['First Name', 'Last Name', 'Username', ''],
                     widths: ['25%', '25%', '25%', '25%'],
                     data_procs:
                       [
                         Proc.new { |user| user.first_name },
                         Proc.new { |user| user.last_name },
                         Proc.new { |user| user.username },
                         Proc.new { |user| 
                          link_to 'Sign in as', 
                                  sessions_become_path(:user_id => user.id), 
                                  method: :post 
                         }
                       ]
                   )
           }
%>

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
openstax_connect-0.0.10 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.9 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.8 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.7 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.6 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.5 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.4 app/views/openstax/connect/dev/users/search.js.erb
openstax_connect-0.0.3 app/views/openstax/connect/dev/users/search.js.erb