* Move all autocomplete code to autocomplete.js. * Mark autocompleted fields with `data-autocomplete="<type>"` attributes, instead of hardcoding input field IDs in the javascript.
20 lines
556 B
Plaintext
20 lines
556 B
Plaintext
<div id="c-artist-versions">
|
|
<div id="a-search">
|
|
<h1>Search Changes</h1>
|
|
|
|
<div id="search">
|
|
<%= form_tag(artist_versions_path, :method => :get, :class => "simple_form") do %>
|
|
<%= search_field "updater_name", :label => "User" %>
|
|
<%= search_field "name", :label => "Name", :data => { autocomplete: "artist" } %>
|
|
<%= submit_tag "Search" %>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<%= render "secondary_links" %>
|
|
|
|
<% content_for(:page_title) do %>
|
|
Search Artist Changes - <%= Danbooru.config.app_name %>
|
|
<% end %>
|