diff options
Diffstat (limited to 'app/views/users/edit.dryml')
-rw-r--r-- | app/views/users/edit.dryml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/app/views/users/edit.dryml b/app/views/users/edit.dryml index f974b53..7a0698e 100644 --- a/app/views/users/edit.dryml +++ b/app/views/users/edit.dryml @@ -1,4 +1,13 @@ -<edit-page if="¤t_user.valid?" /> +<edit-page if="¤t_user.valid?"> + <prepend-content-body:> + <div if="&can_edit?(:mentor)"> + If you want to start or stop mentoring this recruit go back to <a>show page for this user</a> and click 'Start/Stop mentoring this recruit' button. + </div> + <else> + You can not change mentor for this user (possible reasons are: you're not logged in, you don't have mentor role, someone else is mentor for this user). + </else> + </prepend-content-body:> +</edit-page> <else> <edit-page> <body:> |