Sha256: 8293424af1fb0f4c4d2ef9f0a859e072b029f5efc7b20b80ab0596715b203699
Contents?: true
Size: 756 Bytes
Versions: 17
Compression:
Stored size: 756 Bytes
Contents
<% total_count = @handler_result.outputs.total_count accounts = @handler_result.outputs.items || [] %> <div id='search-results-count'> <%= pluralize(total_count, 'user') %> found. </div> <div id='search-results-list'> <%= osu.action_list( records: accounts, list: { headings: ['UID', 'UUID', 'Username (click to sign in as)', 'Name'], widths: ['20%', '20%', '30%', '30%'], data_procs: [ ->(account) { account.openstax_uid }, ->(account) { account.uuid }, ->(account) { link_to account.username, become_dev_account_path(account.id), method: :post }, ->(account) { account.name || '---' } ] } ) %> </div>
Version data entries
17 entries across 17 versions & 1 rubygems