refactoring project team members controller (corresponding mental model)
This commit is contained in:
parent
ccf8fa4fa2
commit
f6f414ce3b
8 changed files with 45 additions and 40 deletions
|
@ -1,6 +1,6 @@
|
|||
- if @team_member.valid?
|
||||
- if @user_project_relation.valid?
|
||||
:plain
|
||||
$("##{dom_id(@team_member)}").effect("highlight", {color: "#529214"}, 1000);;
|
||||
$("##{dom_id(@user_project_relation)}").effect("highlight", {color: "#529214"}, 1000);;
|
||||
- else
|
||||
:plain
|
||||
$("##{dom_id(@team_member)}").effect("highlight", {color: "#D12F19"}, 1000);;
|
||||
$("##{dom_id(@user_project_relation)}").effect("highlight", {color: "#D12F19"}, 1000);;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue