mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-23 21:45:01 +08:00
16 lines
436 B
Ruby
16 lines
436 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.html controller.render_to_string(
|
|
partial: 'access_permissions/modals/edit_modal',
|
|
formats: [:html],
|
|
locals: {
|
|
assignable: @form,
|
|
top_level_assignable: @form,
|
|
manually_assigned_users: @form.manually_assigned_users,
|
|
update_path: access_permissions_form_path(@form),
|
|
new_assignment_path: new_access_permissions_form_path(id: @form)
|
|
},
|
|
layout: false
|
|
)
|
|
|
|
json.flash @message
|