提交 9c75fcbe 编写于 作者: N Nihad Abbasov

auto complete team member mentions

上级 80bcba4e
...@@ -37,3 +37,8 @@ ...@@ -37,3 +37,8 @@
= f.file_field :attachment, class: "input-file" = f.file_field :attachment, class: "input-file"
%span.hint Any file less than 10 MB %span.hint Any file less than 10 MB
:javascript
$(function(){
var names = #{@project.users.pluck(:name)};
$('.note-text').atWho('@', { data: names });
});
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册