<!DOCTYPE html>
<html lang="tr">
<head>
    <meta charset="UTF-8">
    <title>{{ _('edit_page_title') }}</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body class="bg-light d-flex align-items-center" style="min-height:100vh;">
<div class="container d-flex justify-content-center align-items-center" style="min-height: 100vh;">
    <div class="card shadow p-4" style="max-width: 500px; width:100%;">
        <h2 class="text-primary mb-4"><i class="bi bi-pencil-square me-2"></i>{{ item.id }} ID'li {{ _('user') }} {{ _('edit') }}</h2>
        <form method="POST" class="mt-4">
            <div class="mb-3">
                <label for="isim" class="form-label">{{ _('name') }}</label>
                <input type="text" class="form-control" id="isim" name="isim" value="{{ item.isim }}" required>
            </div>
            <div class="mb-3">
                <label for="yas" class="form-label">{{ _('age') }}</label>
                <input type="number" class="form-control" id="yas" name="yas" value="{{ item.yas }}" required>
            </div>
            <button type="submit" class="btn btn-success"><i class="bi bi-check-circle me-1"></i>{{ _('save') }}</button>
            <a href="{{ url_for('home') }}" class="btn btn-secondary ms-2"><i class="bi bi-x-circle me-1"></i>{{ _('cancel') }}</a>
        </form>
    </div>
</div>
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
</body>
</html>
