33 lines
1.3 KiB
PHP
33 lines
1.3 KiB
PHP
@extends('layouts.admin')
|
|
|
|
@section('content')
|
|
<div class="container mx-auto p-8">
|
|
<div class="card shadow mb-4">
|
|
<div class="card-header py-3">
|
|
<h6 class="m-0 font-bold text-primary">
|
|
Tambah Ruang Pelayanan
|
|
</h6>
|
|
</div>
|
|
<div class="card-body">
|
|
<form action="{{ route('admin.ruang.store') }}" method="POST">
|
|
@csrf
|
|
<div class="form-group">
|
|
<label for="nama_ruang_pelayanan" class="font-semibold">Nama Ruang Pelayanan</label>
|
|
<input type="text" class="form-control" id="nama_ruang_pelayanan" name="nama_ruang_pelayanan"
|
|
required>
|
|
</div>
|
|
|
|
<div class="my-2">
|
|
<button type="submit"
|
|
class="px-4 py-2 font-semibold text-white bg-blue-600 rounded hover:bg-blue-700">
|
|
Simpan
|
|
</button>
|
|
<button onclick="location.href='{{ route('ruang.index') }}'"
|
|
class="px-4 py-2 font-semibold text-white bg-gray-600 rounded hover:bg-gray-700">Batal</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|