Rework user-interface for editing recurring tasks
This commit is contained in:
parent
a8a434ef7b
commit
a00e7c94be
7 changed files with 79 additions and 58 deletions
15
app/views/tasks/_form_sidebar.html.haml
Normal file
15
app/views/tasks/_form_sidebar.html.haml
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
- content_for :javascript do
|
||||
:javascript
|
||||
$(function() {
|
||||
$("#task_user_list").tokenInput("#{users_path(:format => :json)}", {
|
||||
crossDomain: false,
|
||||
prePopulate: $("#task_user_list").data("pre"),
|
||||
hintText: '#{escape_javascript(t('.search.hint'))}',
|
||||
noResultText: '#{escape_javascript(t('.search.noresult'))}',
|
||||
searchingText: '#{escape_javascript(t('.search.placeholder'))}',
|
||||
theme: 'facebook'
|
||||
});
|
||||
});
|
||||
|
||||
- content_for :sidebar do
|
||||
= render "shared/workgroup_members"
|
||||
Loading…
Add table
Add a link
Reference in a new issue