Remove uses of the is_active flag. Keep column in database (for now). The only purpose of this flag was to filter out pools from the pool list in the Add to Pool dialog. This hasn't had much use since autocomplete was added. Most pools didn't set the flag correctly anyway.
19 lines
619 B
Plaintext
19 lines
619 B
Plaintext
<div id="c-pools">
|
|
<div id="a-edit">
|
|
<%= edit_form_for(@pool) do |f| %>
|
|
<h1>Edit Pool: <%= @pool.pretty_name %></h1>
|
|
|
|
<%= error_messages_for "pool" %>
|
|
|
|
<%= f.input :name, :as => :string, :input_html => { :value => @pool.pretty_name } %>
|
|
<%= dtext_field "pool", "description" %>
|
|
<%= dtext_preview_button "pool", "description" %>
|
|
<%= f.input :post_ids_string, as: :text, label: "Posts" %>
|
|
<%= f.input :category, :collection => ["series", "collection"], :include_blank => false %>
|
|
<%= f.button :submit %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|