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"> <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>