Skip to content

Commit

Permalink
Modification du champs competence
Browse files Browse the repository at this point in the history
  • Loading branch information
willkoua committed May 21, 2016
1 parent 80b7a12 commit c7f8f46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Template/Users/edit.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@
]
); ?>
<div id="bloodhound">
<?= $this->Form->input('skills', ['type' => 'text', 'disabled' => true, 'placeholder' => __('Enter and select your skills')]); ?>
<?php
if ($user->isStudent && !$user->isProfessor && !$user->isAvailableMentoring) {
echo $this->Form->input('skills', ['type' => 'text', 'disabled' => true, 'placeholder' => __('Enter and select your skills')]);
}
?>
</div>
<br />
<h3 class="header-title"><?= __('Contact information'); ?></h3>
Expand Down

0 comments on commit c7f8f46

Please sign in to comment.