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.
50 lines
1.6 KiB
50 lines
1.6 KiB
<x-modal id="term-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/academic/field.term.name')"
|
|
:disabled="$id !== null"
|
|
/>
|
|
|
|
<x-form.input
|
|
name="form.code"
|
|
wire:model="form.code"
|
|
:label="__('domains/academic/field.term.code')"
|
|
:disabled="$id !== null"
|
|
/>
|
|
|
|
<x-form.input
|
|
name="form.year_study"
|
|
wire:model="form.year_study"
|
|
:label="__('domains/academic/field.term.year_study')"
|
|
:disabled="$id !== null"
|
|
/>
|
|
|
|
<x-form.input
|
|
name="form.semester"
|
|
wire:model="form.semester"
|
|
:label="__('domains/academic/field.term.semester')"
|
|
:disabled="$id !== null"
|
|
/>
|
|
|
|
<x-form.input
|
|
type="date"
|
|
name="form.date_start"
|
|
wire:model="form.date_start"
|
|
:label="__('domains/academic/field.term.date_start')"
|
|
/>
|
|
|
|
<x-form.input
|
|
type="date"
|
|
name="form.date_end"
|
|
wire:model="form.date_end"
|
|
:label="__('domains/academic/field.term.date_end')"
|
|
/>
|
|
</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>
|
|
|