feat: Add new template button to templates page and improve template creation form

This commit is contained in:
2026-05-11 16:36:16 +02:00
parent c574e67d71
commit a4547d4bda
2 changed files with 11 additions and 3 deletions
+3 -1
View File
@@ -31,6 +31,8 @@ class TemplateManager extends Component
'select' => 'Lista desplegable',
];
protected $listeners = ['showTemplateForm' => 'newTemplate'];
public function mount(Project $project)
{
$this->project = $project;
@@ -138,4 +140,4 @@ class TemplateManager extends Component
{
return view('livewire.template-manager');
}
}
}