removed passing of useless params, updated placeholder for user textcomplete

This commit is contained in:
MrYummy
2017-06-02 19:22:04 +02:00
parent 1398fcc015
commit fdc6ceabb6
3 changed files with 4 additions and 5 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>