mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-12 12:16:06 +08:00
12 lines
307 B
Ruby
12 lines
307 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, format: :json)
|
|
},
|
|
layout: false
|
|
)
|