16 lines
890 B
PHP
16 lines
890 B
PHP
@extends('layouts.app')
|
|
@section('title', 'Template anlegen')
|
|
@section('heading', 'VM-Template anlegen')
|
|
|
|
@section('content')
|
|
<form method="POST" action="{{ route('admin.templates.store') }}" class="hexahost-card max-w-lg space-y-4 p-6">
|
|
@csrf
|
|
<input name="slug" placeholder="slug" required class="hexahost-input w-full px-3 py-2">
|
|
<input name="name" placeholder="Anzeigename" required class="hexahost-input w-full px-3 py-2">
|
|
<input name="proxmox_template_vmid" type="number" placeholder="Proxmox Template VMID" required class="hexahost-input w-full px-3 py-2">
|
|
<input name="os_family" placeholder="OS (optional)" 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" checked> Aktiv</label>
|
|
<button class="hexahost-btn-primary px-4 py-2">Speichern</button>
|
|
</form>
|
|
@endsection
|