diff --git a/frontend/src/pages/TestEdit/index.tsx b/frontend/src/pages/TestEdit/index.tsx
index 20b3b70..8e3b6ed 100644
--- a/frontend/src/pages/TestEdit/index.tsx
+++ b/frontend/src/pages/TestEdit/index.tsx
@@ -127,71 +127,15 @@ export default function TestEdit() {
style={{ marginBottom: 16 }}
/>
-
{test.title}
-
- {test.description && (
-
- {test.description}
-
- )}
-
-
-
- {test.questions.length}
- {test.passing_score}%
-
- {test.time_limit ? `${test.time_limit} мин` : 'Без ограничений'}
-
-
- {test.allow_navigation_back ? (
- Разрешён
- ) : (
- Запрещён
- )}
-
- {test.version}
-
- {new Date(test.created_at).toLocaleDateString('ru-RU')}
-
-
-
-
- Вопросы ({test.questions.length})
-
- {test.questions.map((question, index) => (
-
-
- {index + 1}. {question.text}
-
- (
-
-
- {answer.is_correct ? (
-
- ) : (
-
- )}
- {answer.text}
-
-
- )}
- />
-
- ))}
-
{versions.length > 1 && (
<>
-
- История версий
-
+ История версий
dataSource={versions}
rowKey="id"
size="small"
pagination={false}
+ style={{ marginBottom: 24 }}
rowClassName={(record) => (record.id === test.id ? 'ant-table-row-selected' : '')}
columns={
[
@@ -241,6 +185,62 @@ export default function TestEdit() {
/>
>
)}
+
+ {test.title}
+
+ {test.description && (
+
+ {test.description}
+
+ )}
+
+
+
+ {test.questions.length}
+ {test.passing_score}%
+
+ {test.time_limit ? `${test.time_limit} мин` : 'Без ограничений'}
+
+
+ {test.allow_navigation_back ? (
+ Разрешён
+ ) : (
+ Запрещён
+ )}
+
+ {test.version}
+
+ {new Date(test.created_at).toLocaleDateString('ru-RU')}
+
+
+
+
+ Вопросы ({test.questions.length})
+
+ {test.questions.map((question, index) => (
+
+
+ {index + 1}. {question.text}
+
+ (
+
+
+ {answer.is_correct ? (
+
+ ) : (
+
+ )}
+ {answer.text}
+
+
+ )}
+ />
+
+ ))}
+
)
}