scinote-web/app/views/access_permissions/experiments/experiment_member.json.jbuilder

14 lines
331 B
Text
Raw Normal View History

# frozen_string_literal: true
json.form controller.render_to_string(
partial: 'access_permissions/partials/member_field',
formats: [:html],
locals: {
user: @user_assignment.user,
2023-02-23 21:57:38 +08:00
assignable: @experiment,
with_inherit: true,
2023-02-23 21:57:38 +08:00
update_path: access_permissions_experiment_path(@experiment)
},
layout: false
)