Updated user_target autocomplete regex, removed unnecessary permission check

This commit is contained in:
MrYummy
2017-06-12 21:40:33 +02:00
parent 895e56ff06
commit 32231e4eea
5 changed files with 43 additions and 16 deletions

View File

@@ -2,7 +2,7 @@
<div class="field_container_user">
<% options = (defined?(options) && options || {}) %>
<% options[:class] = "#{options[:class]} editor_field" %>
<% options[:placeholder] ||= "Enter user's name. prefix with \"@\" to get suggestions." %>
<% options[:placeholder] ||= "Enter user's name." %>
<%= text_field_tag name, content, options %>
</div>
</div>