able to change storage name and path
This commit is contained in:
		@@ -2,11 +2,13 @@
 | 
				
			|||||||
    <form wire:submit='submit' class="flex flex-col gap-2 xl:items-end xl:flex-row">
 | 
					    <form wire:submit='submit' class="flex flex-col gap-2 xl:items-end xl:flex-row">
 | 
				
			||||||
        @if ($isReadOnly)
 | 
					        @if ($isReadOnly)
 | 
				
			||||||
            @if ($isFirst)
 | 
					            @if ($isFirst)
 | 
				
			||||||
                <x-forms.input id="storage.name" label="Volume Name" required readonly />
 | 
					                <x-forms.input id="storage.name" label="Volume Name" required
 | 
				
			||||||
                <x-forms.input id="storage.host_path" label="Source Path (on host)" readonly />
 | 
					                    helper="Warning: Changing the volume name after the initial start could cause problems. Only use it when you know what are you doing." />
 | 
				
			||||||
 | 
					                <x-forms.input id="storage.host_path" label="Source Path (on host)" helper="Warning: Changing the source path after the initial start could cause problems. Only use it when you know what are you doing." />
 | 
				
			||||||
                <x-forms.input id="storage.mount_path" label="Destination Path (in container)" required readonly />
 | 
					                <x-forms.input id="storage.mount_path" label="Destination Path (in container)" required readonly />
 | 
				
			||||||
            @else
 | 
					            @else
 | 
				
			||||||
                <x-forms.input id="storage.name" required readonly />
 | 
					                <x-forms.input id="storage.name" required readonly
 | 
				
			||||||
 | 
					                    helper="Warning: Changing the volume name after the initial start could cause problems. Only use it when you know what are you doing." />
 | 
				
			||||||
                <x-forms.input id="storage.host_path" readonly />
 | 
					                <x-forms.input id="storage.host_path" readonly />
 | 
				
			||||||
                <x-forms.input id="storage.mount_path" required readonly />
 | 
					                <x-forms.input id="storage.mount_path" required readonly />
 | 
				
			||||||
            @endif
 | 
					            @endif
 | 
				
			||||||
@@ -25,7 +27,8 @@
 | 
				
			|||||||
                    Update
 | 
					                    Update
 | 
				
			||||||
                </x-forms.button>
 | 
					                </x-forms.button>
 | 
				
			||||||
                <x-modal-confirmation isErrorButton buttonTitle="Delete">
 | 
					                <x-modal-confirmation isErrorButton buttonTitle="Delete">
 | 
				
			||||||
                    This storage will be deleted <span class="font-bold dark:text-warning">{{ $storage->name }}</span>. It
 | 
					                    This storage will be deleted <span class="font-bold dark:text-warning">{{ $storage->name }}</span>.
 | 
				
			||||||
 | 
					                    It
 | 
				
			||||||
                    is
 | 
					                    is
 | 
				
			||||||
                    not
 | 
					                    not
 | 
				
			||||||
                    reversible. <br>Please think again.
 | 
					                    reversible. <br>Please think again.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user