New-OMIS/resources/views/permissions/edit.blade.php

38 lines
1.2 KiB
PHP
Raw Normal View History

2024-04-04 07:46:19 +00:00
@extends('layouts.app')
@section('content')
2024-04-04 07:23:00 +00:00
<section class="section">
<div class="section-header">
<h1>Manage Permissions</h1>
</div>
<div class="card">
<div class="card-header d-flex justify-content-between align-items-center">
<h4>Edit Permissions</h4>
<a href="{{ route('permissions.index') }}" class="btn btn-sm btn-primary">Back</a>
</div>
<div class="card-body">
<form action="{{ route('permissions.update', $permission->id) }}" method="post">
@csrf
@method('put')
<div class="row">
<div class="col-md-7">
<div class="form-group">
<label for="name">Permission Name <span class="text-danger">*</span></label>
2024-04-04 07:46:19 +00:00
<input id="name" class="form-control rounded-md" value="{{ old('name', $permission->name) }}"
2024-04-04 07:23:00 +00:00
type="text" name="name" />
</div>
</div>
</div>
<div class="row">
2024-04-04 07:46:19 +00:00
<div class="col-md-12 d-flex justify-end">
2024-04-04 07:23:00 +00:00
<button type="submit" class="btn btn-primary">Update</button>
</div>
</div>
</form>
</div>
</div>
</section>
2024-04-04 07:46:19 +00:00
@endsection