diff --git a/~dev_rating/application/classes/Controller/Admin/Teachers.php b/~dev_rating/application/classes/Controller/Admin/Teachers.php index efb4bb8473fbeaeb5500e960eb094d68f1ead715..22fb88cec36962b15f770c3bc02eced718d50505 100644 --- a/~dev_rating/application/classes/Controller/Admin/Teachers.php +++ b/~dev_rating/application/classes/Controller/Admin/Teachers.php @@ -47,7 +47,8 @@ class Controller_Admin_Teachers extends Controller_UserEnvi { } // VIEW $twig = Twig::factory('admin/teachers/add'); - $twig->Faculties = $jobPositionsHandled; + $twig->JobPositions = $jobPositionsHandled; + $twig->Faculties = $facultiesHandled; $twig->User = $this->UserInfo; $this->response->body($twig); } diff --git a/~dev_rating/application/views/admin/teachers/add.twig b/~dev_rating/application/views/admin/teachers/add.twig index 0eb33e761647316d0192a17435c63eba751e4c9e..b4173e3930f2fe6727aab950f974f4573cd4d4a6 100644 --- a/~dev_rating/application/views/admin/teachers/add.twig +++ b/~dev_rating/application/views/admin/teachers/add.twig @@ -29,7 +29,7 @@ <select id="jobPositionSelect"> <option value="0">--- Академическая должность ---</option> {% for row in JobPositions %} - <option value="{{ row.ID }}">{{ row.Name }} ({{ row.Abbr }})</option> + <option value="{{ row.ID }}">{{ row.Name }}</option> {% endfor %} </select> <select id="facultySelect">