mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
12 lines
477 B
Text
12 lines
477 B
Text
<span class="settings-page-initials user-settings-block">
|
|
<label><%= t("users.registrations.edit.initials_label") %></label>
|
|
<%= render partial: "shared/inline_editing",
|
|
locals: {
|
|
initial_value: @user.initials,
|
|
config: {
|
|
params_group: 'user',
|
|
field_to_udpate: 'initials',
|
|
path_to_update: registration_path(resource_name, format: :json)
|
|
}
|
|
} %>
|
|
</span>
|