mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Merge pull request #282 from okriuchykhin/ok_SCI_649
Fixes edit avatar link area [SCI-649]
This commit is contained in:
commit
009d3b0510
1 changed files with 4 additions and 4 deletions
|
@ -16,8 +16,8 @@
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<%= f.label t("users.registrations.edit.avatar_label") %><br />
|
<%= f.label t("users.registrations.edit.avatar_label") %><br />
|
||||||
<% @user_avatar_url ||= avatar_path(current_user, :thumb) %>
|
<% @user_avatar_url ||= avatar_path(current_user, :thumb) %>
|
||||||
<a href="#" data-action="edit">
|
|
||||||
<div class="avatar-container">
|
<div class="avatar-container">
|
||||||
|
<a href="#" data-action="edit">
|
||||||
<div class="avatar-image">
|
<div class="avatar-image">
|
||||||
<%= image_tag @user_avatar_url %>
|
<%= image_tag @user_avatar_url %>
|
||||||
</div>
|
</div>
|
||||||
|
@ -27,10 +27,10 @@
|
||||||
<%=t "users.registrations.edit.avatar_btn" %>
|
<%=t "users.registrations.edit.avatar_btn" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<div data-part="edit" style="display: none;">
|
<div data-part="edit" style="display: none;">
|
||||||
<div class="well">
|
<div class="well">
|
||||||
<h4><%=t "users.registrations.edit.avatar_title" %></h4>
|
<h4><%=t "users.registrations.edit.avatar_title" %></h4>
|
||||||
|
|
Loading…
Reference in a new issue