f
This commit is contained in:
@@ -283,7 +283,7 @@ const ProtocolForm: FC<ProtocolFormProps> = ({ template, onSave, onBack }) => {
|
||||
{/* Кнопки справа */}
|
||||
<div className="absolute right-0 flex gap-2">
|
||||
<Button
|
||||
variant="outline"
|
||||
variant="link"
|
||||
size="sm"
|
||||
onClick={() => navigate(`/templates/${template.id}/edit`)}
|
||||
className="flex items-center gap-1 hover:bg-muted"
|
||||
@@ -292,7 +292,7 @@ const ProtocolForm: FC<ProtocolFormProps> = ({ template, onSave, onBack }) => {
|
||||
<span className="text-sm">Редактор шаблона</span>
|
||||
</Button>
|
||||
<Button
|
||||
variant="outline"
|
||||
variant="link"
|
||||
size="sm"
|
||||
onClick={() => navigate(`/templates/${template.id}/elements`)}
|
||||
className="flex items-center gap-1 hover:bg-muted"
|
||||
@@ -314,7 +314,7 @@ const ProtocolForm: FC<ProtocolFormProps> = ({ template, onSave, onBack }) => {
|
||||
<Grid className="h-4 w-4" />
|
||||
</Button>
|
||||
<Button variant="outline" onClick={handleSave} disabled={!canSave}>
|
||||
<Save className="mr-2 h-4 w-4" />
|
||||
<Save className="h-4 w-4" />
|
||||
Сохранить протокол
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user