

		 {!! Form::open(array('url'=>'documentosmobile/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="row"><div class="col-md-12">
						<fieldset><legend> Procedimientos</legend>
				{!! Form::hidden('DocID', $row['DocID']) !!}					
									  <div class="form-group row  " >
										<label for="Condominio" class=" control-label col-md-4 text-left"> Condominio </label>
										<div class="col-md-6">
										  <input  type='text' name='Condominio' id='Condominio' value='{{ $row['Condominio'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Nombre" class=" control-label col-md-4 text-left"> Nombre </label>
										<div class="col-md-6">
										  <input  type='text' name='Nombre' id='Nombre' value='{{ $row['Nombre'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Descripcion" class=" control-label col-md-4 text-left"> Descripcion </label>
										<div class="col-md-6">
										  <textarea name='Descripcion' rows='5' id='Descripcion' class='form-control form-control-sm '  
				           >{{ $row['Descripcion'] }}</textarea> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Documento" class=" control-label col-md-4 text-left"> Documento </label>
										<div class="col-md-6">
										  <textarea name='Documento' rows='5' id='Documento' class='form-control form-control-sm '  
				           >{{ $row['Documento'] }}</textarea> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="IDdocumento" class=" control-label col-md-4 text-left"> IDdocumento </label>
										<div class="col-md-6">
										  <input  type='text' name='IDdocumento' id='IDdocumento' value='{{ $row['IDdocumento'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Mobiledoc" class=" control-label col-md-4 text-left"> Mobiledoc </label>
										<div class="col-md-6">
										  <textarea name='mobiledoc' rows='5' id='mobiledoc' class='form-control form-control-sm '  
				           >{{ $row['mobiledoc'] }}</textarea> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> </fieldset></div></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>		 
