auto complete team member mentions
This commit is contained in:
parent
80bcba4ee2
commit
9c75fcbef1
1 changed files with 5 additions and 0 deletions
|
@ -37,3 +37,8 @@
|
|||
= f.file_field :attachment, class: "input-file"
|
||||
%span.hint Any file less than 10 MB
|
||||
|
||||
:javascript
|
||||
$(function(){
|
||||
var names = #{@project.users.pluck(:name)};
|
||||
$('.note-text').atWho('@', { data: names });
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue