lasthourcloud/resources/views/livewire/project/edit.blade.php

17 lines
677 B
PHP
Raw Normal View History

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>
@if ($project->applications->count() === 0)
2023-08-11 18:19:42 +00:00
<livewire:project.delete-project :project_id="$project->id" />
@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>