scinote-web/app/views/access_permissions/my_modules/my_module_member.json.jbuilder

16 lines
506 B
Text
Raw Normal View History

2021-05-09 22:59:10 +08:00
# frozen_string_literal: true
json.form controller.render_to_string(
partial: 'access_permissions/partials/member_field',
2021-05-09 22:59:10 +08:00
formats: [:html],
locals: {
user: @user_assignment.user,
with_inherit: true,
object: @my_module,
update_path: access_permissions_project_experiment_my_module_path(@project,
@experiment,
@my_module)
2021-05-09 22:59:10 +08:00
},
layout: false
)