related tags: fix style issues.
This commit is contained in:
@@ -89,5 +89,5 @@
|
||||
<%= submit_tag "Submit", :class => "ui-button ui-widget ui-corner-all" %>
|
||||
</div>
|
||||
|
||||
<%= render "related_tags/container", related_tags: nil %>
|
||||
<%= render "related_tags/container" %>
|
||||
<% end %>
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
<div class="tag-column wide-column artist-related-tags-column">
|
||||
<h6>Artist</h6>
|
||||
|
||||
<% if source.artists.any?(&:is_banned?) %>
|
||||
<%= TagSetPresenter.new(["banned_artist"]).tag_list_html(name_only: true) %>
|
||||
<% end %>
|
||||
|
||||
<% if source.artists.size == 0 %>
|
||||
none
|
||||
<% else %>
|
||||
<% if source.artists.any?(&:is_banned?) %>
|
||||
<%= TagSetPresenter.new(["banned_artist"]).tag_list_html(name_only: true) %>
|
||||
<% end %>
|
||||
|
||||
<% source.artists.each do |artist| %>
|
||||
<%= TagSetPresenter.new([artist.name]).tag_list_html(name_only: true) %>
|
||||
|
||||
|
||||
@@ -104,7 +104,7 @@
|
||||
<%= submit_tag "Submit", :id => "submit-button", :class => "large ui-button ui-widget ui-corner-all gradient", data: {disable_with: false} %>
|
||||
</div>
|
||||
|
||||
<%= render "related_tags/container", related_tags: nil %>
|
||||
<%= render "related_tags/container" %>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<h2 style="margin-bottom: 1em;">You <%= CurrentUser.user.upload_limited_reason %></h2>
|
||||
|
||||
Reference in New Issue
Block a user