@extends('layouts.app')

@section('title',"Error de conexion")

@section('content')
<div class="row justify-content-center">
	<div class="col-5">
		<div class="card">
			<div class="card-body">
				<div class="alert alert-info">* Verifica , cambia y guarda  tus datos </div>
				<div class="response-data" style="display: none;">
				</div>
				<form action="{{ url('error') }}" onsubmit="updateDB(this); return false">
					<div class="form-group">
						<label for="">Base de datos</label>
						<input type="text" name="DB[]" value="{{ env('DB_DATABASE') }}" class="form-control">
					</div>
					<div class="form-group">
						<label for="">Usuario de la base de  datos:</label>
						<input type="text" name="DB[]"  class="form-control" value="{{ env('DB_USERNAME') }}">
					</div>
					<div class="form-group">
						<label for="">Contraseña  de la base de  datos:</label>
						<input type="text" name="DB[]" class="form-control" value="{{ env('DB_PASSWORD') }}">
					</div>
					<div class="row text-center">
						<div class="col-12 text-center">
							<button class="btn btn-primary">Actualizar</button>
						</div>
					</div>
				</form>
			</div>
		</div>
	</div>
</div>
	@section('scripts')
		<script src="{!! asset('assets/views_functions/install.js') !!}"></script>
	@endsection
@endsection