initial commit
This commit is contained in:
15
resources/views/admin/templates/edit.blade.php
Normal file
15
resources/views/admin/templates/edit.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('layouts.app')
|
||||
@section('title', 'Template bearbeiten')
|
||||
@section('heading', 'Template bearbeiten')
|
||||
|
||||
@section('content')
|
||||
<form method="POST" action="{{ route('admin.templates.update', $template) }}" class="hexahost-card max-w-lg space-y-4 p-6">
|
||||
@csrf @method('PUT')
|
||||
<input name="slug" value="{{ $template->slug }}" required class="hexahost-input w-full px-3 py-2">
|
||||
<input name="name" value="{{ $template->name }}" required class="hexahost-input w-full px-3 py-2">
|
||||
<input name="proxmox_template_vmid" type="number" value="{{ $template->proxmox_template_vmid }}" required class="hexahost-input w-full px-3 py-2">
|
||||
<input name="os_family" value="{{ $template->os_family }}" class="hexahost-input w-full px-3 py-2">
|
||||
<label class="flex items-center gap-2 text-sm"><input type="checkbox" name="is_active" value="1" {{ $template->is_active ? 'checked' : '' }}> Aktiv</label>
|
||||
<button class="hexahost-btn-primary px-4 py-2">Aktualisieren</button>
|
||||
</form>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user