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