@extends('layouts.layout')

@section('content')
	



<div class="container">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <div class="panel panel-default">
                <div class="panel-heading">Edit Data</div>

                <div class="panel-body">
                    <form class="form-horizontal" role="form" method="POST" action="{{ route('pembayaran.update',$pembayaran->id) }}" method="post">
                    <input name="_method" type="hidden" value="PATCH">
                        {{ csrf_field() }}

                        <!-- <input type="hidden" name="token" value=""> -->

                      




        <div class="form-group{{ ($errors->has('nama')) ? $errors->first('nama') : '' }}" style="margin-left: 200px; width: 1000px">
		<input type="text" name="nama" class="col-md-4 control-label" placeholder="Enter Jenis pembayaran 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') : '' }}" style="margin-left: 200px; width: 1000px">
		<input type="text" name="jenis_kamar" class="col-md-4 control-label" placeholder="Enter Harga pembayaran 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') : '' }}" style="margin-left: 200px; width: 1000px">
		<input type="text" name="lama" class="col-md-4 control-label" placeholder="Enter Jumlah pembayaran Here" value="{{$pembayaran->lama}}">
		{!! $errors->first('lama','<p class="help-block">:message</p>') !!}
		</div>
                       
                        </div>

                     

                        <div class="form-group" style="margin-left: 325px; width: 1000px">
						<input type="submit" class="btn btn-primary" value="Simpan">
						</div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>








	
  @endsection