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.
21 lines
1.2 KiB
21 lines
1.2 KiB
<x-modal id="studyprogram-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.study-program.name')" />
|
|
|
|
<x-form.input name="form.code" wire:model="form.code" :label="__('domains/academic/field.study-program.code')" />
|
|
|
|
<x-form.input name="form.level" wire:model="form.level" label="Level" />
|
|
|
|
<x-form.select name="form.status" wire:model="form.status" label="Status" :options="['active' => 'Active', 'archived' => 'Archived']" />
|
|
|
|
<x-form.select name="form.faculty_id" wire:model="form.faculty_id" :label="__('domains/academic/field.faculty.name')" :options="$this->faculties->pluck('name', 'id')" placeholder="Select Faculty" />
|
|
|
|
<x-form.input type="number" name="form.external_id" wire:model="form.external_id" label="External ID" />
|
|
</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>
|
|
|