Skip to content
Snippets Groups Projects
Commit aca3220d authored by PavelBegunkov's avatar PavelBegunkov
Browse files

.8 .11, delete unused faculties select and edit manual

parent 20e533c8
Branches
Tags
No related merge requests found
......@@ -38,8 +38,7 @@ class Controller_Office_Students extends Controller_Environment_Office
}
$this->twig->set([
'Errors' => $errors,
'Faculties' => Model_Faculties::load(),
'Errors' => $errors
])->set_filename(static::OFFICE . 'students/upload');
}
......
......@@ -16,16 +16,9 @@
<p>Инструмент пакетной загрузки студентов предоставляет возможность регистрировать в системе множество студентов.</p>
<p>Файл со списком студентов представляет собой <code>.txt</code>-файл, который должен иметь следующий формат:</p>
<p><pre>ФИО;Курс;Группа;[Бакалавр, Специалист, Магистр];Специальность</pre></p>
<p><pre>ФИО;Курс;Группа;Уровень подготовки;Специальность</pre></p>
<p>Уровень подготовки - одно из следующих значений: Бакалавр, Специалист, Магистр</p>
<form enctype="multipart/form-data" action="" method="POST">
<div class="goodClearFix defaultForm marginBetween">
<select id="facultySelect" name="facultyID" class="defaultForm">
<option value="0" selected="selected">— Выберите подразделение ЮФУ —</option>
{% for row in Faculties %}
<option value="{{ row.ID }}">{{ row.Name }} ({{ row.Abbr }})</option>
{% endfor %}
</select>
</div>
<div class="goodClearFix">
<div class="defaultForm FLeft"><input name="students" class="defaultForm FullWidth" type="file"></div>
<div class="defaultForm FRight"><input type="submit" class="defaultForm GreenButton P2Width noMargin" value="Загрузить"></div>
......
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