scinote-web/app/views/users/registrations/edit_partials/_external_id.html.erb
2023-01-26 17:01:54 +04:00

12 lines
478 B
Text

<span class="settings-external-id user-settings-block">
<h3><%= t("users.registrations.edit.external_id_label") %></h3>
<%= render partial: "shared/inline_editing",
locals: {
initial_value: @user.external_id,
config: {
params_group: 'user',
field_to_udpate: 'external_id',
path_to_update: registration_path(resource_name, format: :json)
}
} %>
</span>