@extends('adm.index')
@section('redes','active')
@section('redes_true','true')
@section('redes_show','show')
@section('redes_collapsed','collapsed')
@section('form')

<style>
    form{
        margin-bottom: 40px !important;
        height: 100%;
    }
    main{
        max-height: none;
    }
</style>

<div class="container">
    <div class="row">
        <div class="col-12">
            <h2>Editar redes sociales</h2>
        </div>
        <div class="col-12">
            <form method="POST" action="<?= route('editRedes') ?>">
                @csrf
                <div class="mb-3">
                    <label for="facebook" class="form-label">Facebook</label>
                    <input type="text" id="facebook" class="form-control" value="<?= $redes->facebook ?>" name="facebook">
                </div>
                <div class="mb-3">
                    <label for="twitter" class="form-label">Twitter</label>
                    <input type="text" id="twitter" class="form-control" value="<?= $redes->twitter ?>" name="twitter">
                </div>
                <div class="mb-3">
                    <label for="instagram" class="form-label">Instagram</label>
                    <input type="text" id="instagram" class="form-control" value="<?= $redes->instagram ?>" name="instagram">
                </div>
                <div class="mb-3">
                    <label for="linkedin" class="form-label">LinkedIn</label>
                    <input type="text" id="linkedin" class="form-control" value="<?= $redes->linkedin ?>" name="linkedin">
                </div>
                <button type="submit" class="btn btn-primary">Actualizar redes</button>
            </form>
        </div>
    </div>
</div>



@endsection
