mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-16 06:06:56 +08:00
16 lines
650 B
Ruby
16 lines
650 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.form controller.render_to_string(
|
|
partial: 'access_permissions/partials/my_module_member_field',
|
|
formats: [:html],
|
|
locals: {
|
|
user: @my_module_member.user,
|
|
experiment: @my_module_member.experiment,
|
|
my_module: @my_module_member.my_module,
|
|
project: @my_module_member.project,
|
|
update_path: access_permissions_project_experiment_my_module_path(@my_module_member.project,
|
|
@my_module_member.experiment,
|
|
@my_module_member.my_module)
|
|
},
|
|
layout: false
|
|
)
|