<?php $__template->layout('Layout.main'); ?>
<?php $__template->section('title'); ?>تعديل الدور: <?= e($role->name_ar) ?><?php $__template->endSection(); ?>
<?php $__template->section('content'); ?>
<form method="POST" action="/roles/<?= (int) $role->id ?>">
    <?= csrf_field() ?>
    <?php require __DIR__ . '/_form.php'; ?>
    <button type="submit" class="btn btn-primary" style="margin-top:20px;">تحديث الدور</button>
    <a href="/roles" class="btn btn-outline" style="margin-top:20px;">إلغاء</a>
</form>
<?php $__template->endSection(); ?>