5a5f8a01e7
Adds a 'Save as Template' button in the Details sidebar (visible to red_lead, blue_lead and admin only). Opens a modal pre-filled from the test's own fields: test.name → template name test.description → description test.platform → platform test.procedure_text → attack_procedure test.tool_used → tool_suggested test.technique_mitre_id → mitre_technique_id User can also set severity and write expected_detection (Blue Team guidance — not stored on tests). Calls POST /test-templates with source='custom' on submit.