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

16 lines
397 B
Text
Raw Normal View History

2021-04-18 23:19:16 +08:00
# frozen_string_literal: true
json.html controller.render_to_string(
2023-02-23 21:57:38 +08:00
partial: 'access_permissions/modals/edit_modal',
2021-04-18 23:19:16 +08:00
formats: [:html],
locals: {
2023-02-23 21:57:38 +08:00
assignable: @project,
manually_assigned_users: @project.manually_assigned_users,
top_level_assignable: @project,
new_assignment_path: new_access_permissions_project_path(id: @project)
},
2021-04-18 23:19:16 +08:00
layout: false
)
2021-04-30 19:26:06 +08:00
json.flash @message