You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
967 B
19 lines
967 B
<x-modal id="user-form-modal" :title="$this->title" wire:submit="save" wire:loading form livewire>
|
|
|
|
<div class="d-flex flex-column gap-3">
|
|
<x-form.input name="form.name" wire:model="form.name" :label="__('domains/identity/field.user.name')" />
|
|
|
|
<x-form.input name="form.email" wire:model="form.email" :label="__('domains/identity/field.user.email')" />
|
|
|
|
@unless ($id)
|
|
<x-form.input name="form.password" wire:model="form.password" :label="__('domains/identity/field.user.password')" />
|
|
|
|
<x-form.input name="form.password_confirmation" wire:model="form.password_confirmation" :label="__('domains/identity/field.user.password_confirmation')" />
|
|
@endunless
|
|
</div>
|
|
|
|
<x-slot:footer>
|
|
<x-button type="button" theme="secondary" :label="__('ui.button.cancel')" data-bs-dismiss="modal" />
|
|
<x-button type="submit" theme="primary" :label="__('ui.button.save')" />
|
|
</x-slot:footer>
|
|
</x-modal>
|
|
|