% # this page is for administrators only, they cannot navigate to individual user pages %>
<%= ts("Enter \"0\" under quantity to deny the request. Clear the box to delay your decision for now.") %>
<%= ts("To give a user more invitations without a request, visit their individual invitations page.") %>
<%= will_paginate @user_invite_requests %> <%= form_tag url_for(:controller => 'user_invite_requests', :action => 'update'), method: :patch do %>| <%= ts('User') %> | <%= ts('Reason') %> | <%= ts('Quantity') %> | <%= ts('Created at') %> | <%= ts('Previous') %> |
|---|---|---|---|---|
| <%= link_to request.user.login, request.user %> | <%= request.reason %> | <%= text_field_tag "requests[#{request.id}]", request.quantity, :size => 2, :id => "requests[#{request.user.login}]" %> | <%= request.created_at %> | <%= link_to_previous_invite_requests(request) %> |
<%= submit_tag ts("Update") %><%= submit_tag ts("Decline All"), :name => 'decline_all', data: {confirm: "This will decline ALL requests. Are you sure?"} %>
<% end %> <%= will_paginate @user_invite_requests %>