scinote-web/app/views/users/registrations/edit_partials/_initials.html.erb

13 lines
477 B
Text
Raw Normal View History

2020-07-07 19:17:17 +08:00
<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>