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

local_hotel Web Loca

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

Paramètres du module Web Loca

{!! 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")) !!}
id, 0) == 1) checked @endif class="filled-in chk-col-teal">
{!! Form::text('titre_webloca', getParametre('titre_webloca'), 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 Loca

{!! 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::textarea('list_unit_time', getParametre('list_unit_time'), array ("rows" => 4, "class" => "form-control", "placeholder" => "Liste des unités de temps")) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webloca\Controller\WeblocaController@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\Webloca\Controller\WeblocaController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect pull-right")) !!}

Paramètres du module Web Loca

{!! 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_webloca_ml', getParametreLangue($langue->suffixe, 'titre_webloca'), 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 Loca

{!! 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::textarea($langue->suffixe . '_list_unit_time_ml', getTranslation("Module", "list_unit_time", $module ? $module->id : null, $module ? $module->list_unit_time : null, $langue->suffixe), array ("rows" => 4, "class" => "form-control", "placeholder" => "Liste des unités de temps")) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webloca\Controller\WeblocaController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect m-t-15")) !!}
@endif @endforeach @endif

Autres paramètres

{!! Form::text('size_medium_webloca', getParametre('size_medium_webloca'), array("class" => "form-control", "placeholder" => "Taille max des miniatures", "required")) !!}
{!! Form::text('size_big_webloca', getParametre('size_big_webloca'), array("class" => "form-control", "placeholder" => "Taille max des photos", "required")) !!}
{!! Form::text('rang', old('rang'), array("class" => "form-control", "readonly" => true, "default" => 0)) !!}
{!! Form::hidden('id') !!} {!! Form::close() !!} @stop