

		 {!! Form::open(array('url'=>'datasppbjips/savepublic', 'class'=>'form-horizontal','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!}

	@if(Session::has('messagetext'))
	  
		   {!! Session::get('messagetext') !!}
	   
	@endif
	<ul class="parsley-error-list">
		@foreach($errors->all() as $error)
			<li>{{ $error }}</li>
		@endforeach
	</ul>		


<div class="col-md-12">
						<fieldset><legend> Data Sppbj IPS</legend>
				{!! Form::hidden('id', $row['id']) !!}					
									  <div class="form-group row  " >
										<label for="Sppbj No" class=" control-label col-md-4 "> Sppbj No </label>
										<div class="col-md-8">
										  <input  type='text' name='sppbj_no' id='sppbj_no' value='{{ $row['sppbj_no'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Title" class=" control-label col-md-4 "> Title </label>
										<div class="col-md-8">
										  <input  type='text' name='title' id='title' value='{{ $row['title'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Value Hps" class=" control-label col-md-4 "> Value Hps </label>
										<div class="col-md-8">
										  <input  type='text' name='value_hps' id='value_hps' value='{{ $row['value_hps'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Sppbj Date" class=" control-label col-md-4 "> Sppbj Date </label>
										<div class="col-md-8">
										  <input  type='text' name='sppbj_date' id='sppbj_date' value='{{ $row['sppbj_date'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Sppbj Status" class=" control-label col-md-4 "> Sppbj Status </label>
										<div class="col-md-8">
										  <input  type='text' name='sppbj_status' id='sppbj_status' value='{{ $row['sppbj_status'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Panitia" class=" control-label col-md-4 "> Panitia </label>
										<div class="col-md-8">
										  <input  type='text' name='panitia' id='panitia' value='{{ $row['panitia'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Pk Number" class=" control-label col-md-4 "> Pk Number </label>
										<div class="col-md-8">
										  <input  type='text' name='pk_number' id='pk_number' value='{{ $row['pk_number'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Vendor" class=" control-label col-md-4 "> Vendor </label>
										<div class="col-md-8">
										  <input  type='text' name='vendor' id='vendor' value='{{ $row['vendor'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="Tgl Sppbj" class=" control-label col-md-4 "> Tgl Sppbj </label>
										<div class="col-md-8">
										  <input  type='text' name='tgl_sppbj' id='tgl_sppbj' value='{{ $row['tgl_sppbj'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for="No Ref" class=" control-label col-md-4 "> No Ref </label>
										<div class="col-md-8">
										  <input  type='text' name='no_ref' id='no_ref' value='{{ $row['no_ref'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> 					
									  <div class="form-group row  " >
										<label for=" Action" class=" control-label col-md-4 ">  Action </label>
										<div class="col-md-8">
										  <input  type='text' name='_action' id='_action' value='{{ $row['_action'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 
									  </div> </fieldset></div>

			<div style="clear:both"></div>	
				
					
				  <div class="form-group">
					<label class="col-sm-4 text-right">&nbsp;</label>
					<div class="col-sm-8">	
					<button type="submit" name="apply" class="btn btn-info btn-sm" ><i class="fa  fa-check-circle"></i> {{ Lang::get('core.sb_apply') }}</button>
					<button type="submit" name="submit" class="btn btn-primary btn-sm" ><i class="fa  fa-save "></i> {{ Lang::get('core.sb_save') }}</button>
				  </div>	  
			
		</div> 
		 
		 {!! Form::close() !!}
		 
   <script type="text/javascript">
	$(document).ready(function() { 
		
		 

		$('.removeCurrentFiles').on('click',function(){
			var removeUrl = $(this).attr('href');
			$.get(removeUrl,function(response){});
			$(this).parent('div').empty();	
			return false;
		});		
		
	});
	</script>		 
