Skip to content
Snippets Groups Projects
Commit e8be91fb authored by Andrew Rudenets's avatar Andrew Rudenets
Browse files

И еще мелкое исправление...

parent a304a626
Branches
Tags
No related merge requests found
......@@ -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);
}
......
......@@ -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">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment