mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-10 14:46:42 +08:00
14 lines
374 B
Text
14 lines
374 B
Text
|
# frozen_string_literal: true
|
||
|
|
||
|
json.html controller.render_to_string(
|
||
|
partial: 'access_permissions/partials/new_assignments_form',
|
||
|
formats: [:html],
|
||
|
locals: {
|
||
|
resource: @protocol,
|
||
|
form_object: @form,
|
||
|
create_path: access_permissions_protocol_path(id: @protocol.id),
|
||
|
resource_path: edit_access_permissions_protocol_path(@protocol)
|
||
|
},
|
||
|
layout: false
|
||
|
)
|