scinote-web/app/views/users/registrations/edit_partials/_avatar.html.erb
2023-06-08 10:33:37 +04:00

15 lines
499 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="sn-icon sn-icon-edit"></span>
<span><%=t "users.registrations.edit.avatar_btn" %></span>
</div>
</div>
</div>
</div>