text->e($user['name'] ?: $user['username']) ?> app->component('project-select-role', array( 'roles' => $roles, 'role' => $user['role'], 'id' => $user['id'], 'url' => $this->url->to('ProjectPermissionController', 'changeUserRole', array('project_id' => $project['id'])), )) ?> user->isCurrentUser($user['id'])): ?> url->icon('trash-o', t('Remove'), 'ProjectPermissionController', 'removeUser', array('project_id' => $project['id'], 'user_id' => $user['id']), true) ?>
form->csrf() ?> form->hidden('project_id', array('project_id' => $project['id'])) ?> form->hidden('user_id', $values) ?> form->hidden('username', $values) ?> form->hidden('external_id', $values) ?> form->hidden('external_id_column', $values) ?> form->label(t('Name'), 'name') ?> form->text('name', $values, $errors, array( 'required', 'placeholder="'.t('Enter user name...').'"', 'title="'.t('Enter user name...').'"', 'data-dst-field="user_id"', 'data-dst-extra-fields="external_id,external_id_column,username"', 'data-search-url="'.$this->url->href('UserAjaxController', 'autocomplete').'"', ), 'autocomplete') ?> form->select('role', $roles, $values, $errors) ?>