scinote-web/app/views/access_permissions/projects/new.json.jbuilder
2023-02-23 14:57:38 +01:00

14 lines
414 B
Ruby

# frozen_string_literal: true
json.html controller.render_to_string(
partial: 'access_permissions/partials/new_assignments_form',
formats: [:html],
locals: {
assignable: @project,
form_object: @user_assignment,
users: @available_users,
create_path: access_permissions_projects_path(id: @project.id),
assignable_path: edit_access_permissions_project_path(@project)
},
layout: false
)