">
<% @presenter.users.each do |user| %> <% agent_presenter = @presenter.presenter_for(user) %> <% if agent_presenter %> <% else %> <% end %> <% end %>
<%= t('.header.user') %> <%= t('.header.roles') %>
<%= user.user_key %>
    <% agent_presenter.responsibilities do |responsibility_presenter| %>
  • <%= responsibility_presenter.label %> <%= link_to admin_workflow_role_path(responsibility_presenter.responsibility), method: :delete, data: { confirm: t('.delete.confirm') } do %> × <% end %>
  • <% end %>
<%= t('.no_roles') %>

<%= t('.new_role') %>

<%= simple_form_for CurationConcerns::Forms::WorkflowResponsibilityForm.new, url: admin_workflow_roles_path do |f| %> <%= f.input :user_id, as: :select, collection: f.object.user_options %> <%= f.input :workflow_role_id, as: :select, collection: f.object.workflow_role_options %> <%= f.submit %> <% end %>