scinote-web/app/views/access_permissions/projects/project_member.json.jbuilder

12 lines
292 B
Ruby

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