/{pools,favgroups}/:id/order/edit: add blacklist controls.
This commit is contained in:
@@ -66,7 +66,8 @@ div#c-pool-orders, div#c-favorite-group-orders {
|
||||
cursor: pointer;
|
||||
margin-right: 20px;
|
||||
margin-bottom: 20px;
|
||||
width: 150px;
|
||||
min-width: 150px;
|
||||
min-height: 150px;
|
||||
padding: 10px;
|
||||
@include inline-block;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
<h1>Order Favorite Group: <%= @favorite_group.pretty_name %></h1>
|
||||
<p>Drag and drop the list below to determine ordering.</p>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<ul id="sortable">
|
||||
<% @favorite_group.posts(:limit => 1_000).each do |post| %>
|
||||
<li class="ui-state-default" id="favorite_group[post_id_array]_<%= post.id %>">
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
<h1>Order Pool: <%= @pool.pretty_name %></h1>
|
||||
<p>Drag and drop the list below to determine ordering.</p>
|
||||
|
||||
<%= render "posts/partials/common/inline_blacklist" %>
|
||||
|
||||
<ul id="sortable">
|
||||
<% @pool.posts(:limit => 1_000).each do |post| %>
|
||||
<li class="ui-state-default" id="pool[post_id_array]_<%= post.id %>">
|
||||
|
||||
Reference in New Issue
Block a user