Merge pull request #282 from okriuchykhin/ok_SCI_649

Fixes edit avatar link area [SCI-649]
This commit is contained in:
okriuchykhin 2016-11-14 09:31:05 +01:00 committed by GitHub
commit 009d3b0510

View file

@ -16,8 +16,8 @@
<div class="form-group">
<%= f.label t("users.registrations.edit.avatar_label") %><br />
<% @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">
<%= image_tag @user_avatar_url %>
</div>
@ -27,8 +27,8 @@
<%=t "users.registrations.edit.avatar_btn" %>
</div>
</div>
</div>
</a>
</a>
</div>
</div>
</div>
<div data-part="edit" style="display: none;">