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

16 lines
499 B
Text
Raw Normal View History

2020-07-07 19:17:17 +08:00
<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">
2023-06-08 14:33:37 +08:00
<span class="sn-icon sn-icon-edit"></span>
2020-07-07 19:17:17 +08:00
<span><%=t "users.registrations.edit.avatar_btn" %></span>
</div>
</div>
</div>
</div>