autocomplete: add username autocompletion sitewide.

This commit is contained in:
evazion
2019-08-11 15:38:39 -05:00
parent cab36c307f
commit fa19047220
26 changed files with 45 additions and 46 deletions

View File

@@ -1,5 +1,5 @@
<%= simple_form_for(dmail) do |f| %>
<%= f.input :to_name, :label => "To" %>
<%= f.input :to_name, :label => "To", :input_html => { data: { autocomplete: "user" } } %>
<%= f.input :title, :as => :string %>
<%= dtext_field "dmail", "body" %>
<%= f.button :submit, "Send", :data => { :disable_with => "Sending..." } %>