Files
danbooru/app/views/pool_elements/_new.html.erb
evazion 05da264d0d pools: remove pool list dropdown from add to pool dialog.
Autocomplete works better than trying to select the pool from a gigantic
dropdown.
2020-01-12 01:23:35 -06:00

13 lines
404 B
Plaintext

<%= form_tag(pool_element_path, :class => "simple_form", :remote => true, :format => :js) do %>
<%= hidden_field_tag "post_id", @post.id %>
<div class="input">
<label>Pool Name</label>
<span id="pool-name-container"><%= text_field_tag "pool_name", "", :size => 20, :data => { autocomplete: "pool" } %></span>
</div>
<div class="input">
<%= submit_tag "Submit" %>
</div>
<% end %>