@extends('master')
	@section('content')
	<div class="row">
	<div class="col-md-12">
		<h1>Edit Data</h1>
		</div>
		</div>

<div class="row">
<form class="" action="{{route('kamar.update',$kamar->id)}}" method="post">
<input name="_method" type="hidden" value="PATCH">
		{{csrf_field()}}
		<div class="form-group{{ ($errors->has('jenis_kamar')) ? $errors->first('jenis_kamar') : '' }}">
		<input type="text" name="jenis_kamar" class="textfield" placeholder="Enter jenis_kamar Here" value="{{$kamar->jenis_kamar}}">
		{!! $errors->first('jenis_kamar','<p class="help-block">:message</p>') !!}
		</div>

		<div class="form-group{{ ($errors->has('harga_kamar')) ? $errors->first('jenis_kamar') : '' }}">
		<input type="text" name="harga_kamar" class="textfield" placeholder="Enter harga_kamar Here" value="{{$kamar->harga_kamar}}">
		{!! $errors->first('harga_kamar','<p class="help-block">:message</p>') !!}
		</div>

		<div class="form-group{{ ($errors->has('jumlah_kamar')) ? $errors->first('jenis_kamar') : '' }}">
		<input type="text" name="jumlah_kamar" class="textfield" placeholder="Enter jumlah_kamar Here" value="{{$kamar->jumlah_kamar}}">
		{!! $errors->first('jumlah_kamar','<p class="help-block">:message</p>') !!}
		</div>

		<div class="form-group">
		<input type="submit" class="btn btn-primary" value="Simpan">
		</div>



		</form>
		

</div>

		@stop