Skip to content

Commit

Permalink
fix: Rename tags id in profile page.
Browse files Browse the repository at this point in the history
Reference publiclab#6097
  • Loading branch information
Anupam-dagar committed Aug 30, 2019
1 parent d4d69ab commit 74c7bb2
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 @@ -72,7 +72,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 @@ -342,7 +342,7 @@
display:none;
}

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

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

0 comments on commit 74c7bb2

Please sign in to comment.