@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('pembayaran.update',$pembayaran->id)}}" method="post">
<input name="_method" type="hidden" value="PATCH">
		{{csrf_field()}}
		<div class="form-group{{ ($errors->has('nama')) ? $errors->first('nama') : '' }}">
		<input type="text" name="nama" class="textfield" placeholder="Enter nama Here" value="{{$pembayaran->nama}}">
		{!! $errors->first('nama','<p class="help-block">:message</p>') !!}
		</div>

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

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

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



		</form>
		

</div>

		@stop