@extends('layouts.ecc.main')

@section('content')
<div class="row">
    <div class="col-md-12 offset-md-4">
        <div class="card">
            <div class="content">
                <div class="row">
                    <div class="col-xs-2">
                        <div class="icon-big icon-info text-center">
                            <i class="fa fa-cogs"></i>
                        </div>
                    </div>
                    <div class="col-xs-10">
                        <div class="numbers">
                            <p>Options</p>
                        </div>
                    </div>
                </div>
                <div class="row" style="padding:25px;">
                    <h5>Modifier mon adresse</h5>
                    @if (session('status'))
                    <div class="alert alert-success">
                        <button type="button" aria-hidden="true" class="close">×</button>
                        <span><b> {{session('status')}}</span>
                    </div>
                    @endif
                    <form autocomplete="off" action="/ecc/settings/edit/adress" method="POST">
                        @csrf
                        <div class="form-group">
                          <label for="adress">Entrer votre nouvelle adresse</label>
                          <input type="text" class="form-control" name="adress" id="adress" placeholder="17 ave Pico">
                        </div>
                        <button type="submit" id="submit" class="btn btn-primary">Enregistrer</button>
                    </form>
                </div>
                <hr>
            </div>
        </div>    
    </div>
</div>  
@endsection

@section('active_page')
    <?php $active_page = "guide" ?>
@endsection

@section('custom_scripts')
<script src="/assets/admin/assets/js/user.js"></script>    
@endsection