mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 13:45:25 +08:00
15 lines
496 B
Text
15 lines
496 B
Text
<div data-part="view">
|
|
<div class="form-group user-settings-edit-avatar">
|
|
<% @user_avatar_url ||= avatar_path(current_user, :thumb) %>
|
|
<div class="avatar-container">
|
|
<div class="avatar-image">
|
|
<%= image_tag @user_avatar_url %>
|
|
</div>
|
|
<div class="avatar-edit"></div>
|
|
<div class="avatar-edit-text">
|
|
<span class="fas fa-pencil-alt"></span>
|
|
<span><%=t "users.registrations.edit.avatar_btn" %></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|