scinote-web/app/views/access_permissions/projects/project_member.json.jbuilder
2023-01-22 22:23:18 +01:00

13 lines
389 B
Ruby

# frozen_string_literal: true
json.form controller.render_to_string(
partial: 'access_permissions/partials/member_field',
formats: [:html],
locals: {
user: @user_assignment.user,
object: @project,
update_path: access_permissions_project_path(@project),
delete_path: access_permissions_project_path(@project, user_id: @user_assignment.user.id)
},
layout: false
)