version 1.0
This commit is contained in:
36
resources/views/teams/create-team-form.blade.php
Normal file
36
resources/views/teams/create-team-form.blade.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<x-form-section submit="createTeam">
|
||||
<x-slot name="title">
|
||||
{{ __('Team Details') }}
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="description">
|
||||
{{ __('Create a new team to collaborate with others on projects.') }}
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="form">
|
||||
<div class="col-span-6">
|
||||
<x-label value="{{ __('Team Owner') }}" />
|
||||
|
||||
<div class="flex items-center mt-2">
|
||||
<img class="w-12 h-12 rounded-full object-cover" src="{{ $this->user->profile_photo_url }}" alt="{{ $this->user->name }}">
|
||||
|
||||
<div class="ml-4 leading-tight">
|
||||
<div class="text-gray-900">{{ $this->user->name }}</div>
|
||||
<div class="text-gray-700 text-sm">{{ $this->user->email }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-span-6 sm:col-span-4">
|
||||
<x-label for="name" value="{{ __('Team Name') }}" />
|
||||
<x-input id="name" type="text" class="mt-1 block w-full" wire:model.defer="state.name" autofocus />
|
||||
<x-input-error for="name" class="mt-2" />
|
||||
</div>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="actions">
|
||||
<x-button>
|
||||
{{ __('Create') }}
|
||||
</x-button>
|
||||
</x-slot>
|
||||
</x-form-section>
|
||||
Reference in New Issue
Block a user