@extends('layouts.frontend')

@section('content')
    <ol class="breadcrumb">
        <li><a href="{{ route('home') }}">Accueil</a></li>
        <li class="active">Devenir exposant</li>
    </ol>



    <div class="row">
          <div class="col-md-10 col-md-offset-1">
              <h1 class="page-header">
              Devenir exposant
              </h1>
          </div>
          <div class="col-md-5 col-md-offset-1">
          {!! Form::open(['route' => ['exposant.send'], 'class' => 'form-horizontal']) !!}

          <div class="form-group">
              {!! Form::label('company_name', 'Société', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::text('company_name', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Société']) !!}
              </div>
          </div>

          <div class="form-group">
              {!! Form::label('company_site', 'Site Web', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::text('company_site', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Site Web']) !!}
              </div>
          </div>
          
          <div class="form-group">
              {!! Form::label('category_id', "Secteur d'activité", ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::select('category_id', $categories ,null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>"Secteur d'activité"]) !!}
              </div>
          </div>
          <hr>

          <div class="form-group">
              {!! Form::label('prenom', 'Prénom', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::text('prenom', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Prénom']) !!}
              </div>
          </div>
          <div class="form-group">
              {!! Form::label('nom', 'Nom', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::text('nom', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Nom']) !!}
              </div>
          </div>
          <div class="form-group">
              {!! Form::label('email', 'Email du contact', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::email('email', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Email du contact']) !!}
              </div>
          </div>

          <div class="form-group">
              {!! Form::label('country_id', "Pays", ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::select('country_id', $countries ,null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>"Veuillez choisir votre Pays"]) !!}
              </div>
          </div>

          <div class="form-group">
              {!! Form::label('phone', 'Téléphone', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::text('phone', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Téléphone']) !!}
              </div>
          </div>
          <div class="form-group">
              {!! Form::label('adresse', 'Adresse', ['class' => 'col-sm-4 control-label']) !!}
              <div class="col-sm-8">
                {!! Form::textarea('adresse', null,  ['class'=>'form-control', 'required'=>'required', 'placeholder'=>'Adresse', 'rows' => 3]) !!}
              </div>
          </div>
          <hr>
          <div class="form-group">
              <div class="col-sm-8 col-md-offset-4">
                <button type="submit" class="btn btn-default">Envoyer</button>
              </div>
          </div>
          

          {!! Form::close() !!}
              
          </div>
    </div>
@endsection