2023-06-22 07:33:26 +00:00
|
|
|
<div>
|
2023-06-22 13:08:02 +00:00
|
|
|
<form wire:submit.prevent='submit' class="flex flex-col gap-2 ">
|
|
|
|
<div class="flex items-end gap-2">
|
|
|
|
<h1>Project: {{ data_get($project, 'name') }}</h1>
|
|
|
|
<x-forms.button type="submit">Save</x-forms.button>
|
2023-07-26 11:23:47 +00:00
|
|
|
@if ($project->applications->count() === 0)
|
2023-08-11 18:19:42 +00:00
|
|
|
<livewire:project.delete-project :project_id="$project->id" />
|
2023-07-26 11:23:47 +00:00
|
|
|
@endif
|
2023-06-22 13:08:02 +00:00
|
|
|
</div>
|
|
|
|
<div class="pb-10">Edit project details here.</div>
|
|
|
|
<div class="flex gap-2">
|
2023-08-11 18:19:42 +00:00
|
|
|
<x-forms.input label="Name" id="project.name" />
|
|
|
|
<x-forms.input label="Description" id="project.description" />
|
2023-06-22 13:08:02 +00:00
|
|
|
</div>
|
2023-06-22 07:33:26 +00:00
|
|
|
</form>
|
|
|
|
</div>
|