confirm init script
This commit is contained in:
		| @@ -2,9 +2,20 @@ | |||||||
|     <div class="flex items-end gap-2"> |     <div class="flex items-end gap-2"> | ||||||
|         <x-forms.input id="filename" label="Filename" /> |         <x-forms.input id="filename" label="Filename" /> | ||||||
|         <x-forms.button type="submit">Save</x-forms.button> |         <x-forms.button type="submit">Save</x-forms.button> | ||||||
|         <x-modal-confirmation isErrorButton buttonTitle="Delete"> |         <x-modal-confirmation  | ||||||
|             This script will be deleted. It is not reversible. <br>Please think again. |         isErrorButton | ||||||
|         </x-modal-confirmation> |         title="Confirm init-script deletion?" | ||||||
|  |         buttonTitle="Delete" | ||||||
|  |         submitAction="delete" | ||||||
|  |         :actions="[
 | ||||||
|  |             'The init-script of this database will be permanently deleted.' | ||||||
|  |         ]" | ||||||
|  |         confirmationText="{{ $filename }}" | ||||||
|  |         confirmationLabel="Please confirm the execution of the actions by entering the init-script name below" | ||||||
|  |         shortConfirmationLabel="Init-script Name" | ||||||
|  |         :confirmWithPassword=false | ||||||
|  |         step2ButtonText="Permanently Delete Init-script" | ||||||
|  |         /> | ||||||
|     </div> |     </div> | ||||||
|     <x-forms.textarea id="content" label="Content" /> |     <x-forms.textarea id="content" label="Content" /> | ||||||
| </form> | </form> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 ayntk-ai
					ayntk-ai