Skip to content

Commit

Permalink
fix: Rename tags id in profile page. (#6216)
Browse files Browse the repository at this point in the history
Reference #6097
  • Loading branch information
Anupam-dagar authored and SidharthBansal committed Sep 3, 2019
1 parent a45f33d commit 9add5ab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/users/profile.html.erb
Expand Up @@ -16,7 +16,7 @@
</p>

<div style="text-align: center;">
<span id="tags">
<span id="commontags">
<% tags = Tag.sort_according_to_followers(@profile_user.tags,"desc") %>
<% tags.each do |tag| %>
<span id="tag_<%= tag.id %>" style=""><a class="badge badge-primary mb-1" style="color: white;" href="/tag/<%= tag.name %>"><%= tag.name %></a></span>
Expand Down Expand Up @@ -69,7 +69,7 @@
</div>

<hr>

<div id="tags-hide">
<%= render :partial => "tag/tagging", locals: { url: "/profile/tags/create/#{ @profile_user.id }", parent: :profile, user: @profile_user } %>
</div>
Expand Down Expand Up @@ -339,7 +339,7 @@
display:none;
}

.info a { color: inherit; }
.info a { color: inherit; }

li {
list-style-type: none;
Expand Down

0 comments on commit 9add5ab

Please sign in to comment.