@extends('layouts.admin') @section('content')

directions_car Web auto

{!! Form::model($module, array("class" => "form-horizontal")) !!}
@if(count(getAllLangues()) > 1) @endif
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webauto\Controller\WebautoController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect pull-right")) !!}

Paramètres du module Web auto

{!! Form::text('title', old('title'), array("class" => "form-control", "placeholder" => "Title", "maxlength" => 80, "required", "ID" => "idtitle")) !!}
Nombre de charactère :
{!! Form::text('menu', old('menu'), array("class" => "form-control", "placeholder" => "Titre dans le menu", "required")) !!}
{!! Form::text('titre_webauto', getParametre('titre_webauto'), array("class" => "form-control", "placeholder" => "H1", "required")) !!}
{!! Form::textarea('rgpd', old('rgpd'), array("rows" => 2, "maxlength" => 170, "class" => "form-control", "placeholder" => "RGDP")) !!}
Nombre de charactère :

Référencement du module Web auto

{!! Form::textarea('description', old('description'), array("rows" => 2, "maxlength" => 170, "class" => "form-control", "placeholder" => "META Description", "ID" => "idmeta")) !!}
Nombre de charactère :
3 mots maximum séparés par un espace, sans accents, ni ponctuation
{!! Form::textarea('rewrite', old('rewrite'), array ("rows" => 2, "class" => "form-control", "placeholder" => "Rewrite de la page")) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webauto\Controller\WebautoController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect m-t-15")) !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webauto\Controller\WebautoController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect pull-right")) !!}

Paramètres du module Web auto

{!! Form::text($langue->suffixe . '_title_ml', getTranslation("Module", "title", $module ? $module->id : null, $module ? $module->title : null, $langue->suffixe), array("class" => "form-control", "placeholder" => "Title", 'maxlength' => 80)) !!}
{!! Form::text($langue->suffixe . '_menu_ml', getTranslation("Module", "menu", $module ? $module->id : null, $module ? $module->menu : null, $langue->suffixe), array("class" => "form-control", "placeholder" => "Titre dans le menu")) !!}
{!! Form::text($langue->suffixe.'_titre_webauto_ml', getParametreLangue($langue->suffixe, 'titre_catalogue'), array("class" => "form-control", "placeholder" => "H1")) !!}
{!! Form::textarea($langue->suffixe.'_rgpd_ml', getTranslation("Module", "rgpd", $module ? $module->id : null, $module ? $module->rgpd : null, $langue->suffixe), array("rows" => 2, "maxlength" => 170, "class" => "form-control", "placeholder" => "RGDP")) !!}
Nombre de charactère :

Référencement du module Web auto

{!! Form::textarea($langue->suffixe . '_description_ml', getTranslation("Module", "description", $module ? $module->id : null, $module ? $module->description : null, $langue->suffixe), array("rows" => 2, "maxlength" => 170, "class" => "form-control", "placeholder" => "META Description")) !!}
3 mots maximum séparés par un espace, sans accents, ni ponctuation
{!! Form::textarea($langue->suffixe . '_rewrite_ml', getTranslation("Module", "rewrite", $module ? $module->id : null, $module ? $module->rewrite : null, $langue->suffixe), array ("rows" => 2, "class" => "form-control", "placeholder" => "Rewrite de la page")) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webauto\Controller\WebautoController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect m-t-15")) !!}
@endif @endforeach @endif

Dimensions des photos

{!! Form::text('size_medium_webauto', getParametre('size_medium_webauto'), array("class" => "form-control", "placeholder" => "Taille max des miniatures", "required")) !!}
{!! Form::text('size_big_webauto', getParametre('size_big_webauto'), array("class" => "form-control", "placeholder" => "Taille max des photos", "required")) !!}

Autres paramètres

{!! Form::text('nb_page_webauto', getParametre('nb_page_webauto'), array("class" => "form-control", "placeholder" => "Nombre d'annonces par page")) !!}
{!! Form::text('rang', old('rang'), array("class" => "form-control", "readonly" => true, "default" => 0)) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webauto\Controller\WebautoController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect")) !!}

Informations de contact par défaut

{!! Form::text('nom_webauto', getParametre('nom_webauto'), array("class" => "form-control", "placeholder" => "Nom")) !!}
{!! Form::text('adresse_webauto', getParametre('adresse_webauto'), array("class" => "form-control", "placeholder" => "Adresse")) !!}
{!! Form::text('cp_webauto', getParametre('cp_webauto'), array("class" => "form-control", "placeholder" => "Code postal")) !!}
{!! Form::text('ville_webauto', getParametre('ville_webauto'), array("class" => "form-control", "placeholder" => "Ville")) !!}
{!! Form::text('tel_webauto', getParametre('tel_webauto'), array("class" => "form-control", "placeholder" => "Téléphone")) !!}
{!! Form::text('mobile_webauto', getParametre('mobile_webauto'), array("class" => "form-control", "placeholder" => "Téléphone mobile")) !!}
{!! Form::text('fax_webauto', getParametre('fax_webauto'), array("class" => "form-control", "placeholder" => "Fax")) !!}
{!! Form::text('email_webauto', getParametre('email_webauto'), array("class" => "form-control", "placeholder" => "Courriel")) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webauto\Controller\WebautoController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect m-t-15")) !!}
{!! Form::hidden('id') !!} {!! Form::close() !!} @stop