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

WebResto

Gérer votre carte ...
Voir le tutoriel
@stop @section('content') {!! Form::model($categorie) !!}
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webresto\Controller\WebrestoController@categorie_boisson') . "'")) !!}
{!! Form::submit("Enregistrer") !!}
@if(count(getAllLangues()) > 1) @endif
Paramètre de la catégorie
Nom de la catégorie :
{!! Form::text('libelle', old('libelle')) !!}
Catégorie parente :
{!! Form::select('parent_id', $parents, old('parent_id')) !!}
Rang de la catégorie :
{!! Form::text('rang') !!}

Libellé des contenants
Contenant 1 :
{!! Form::text('contenant1') !!}
Contenant 2 :
{!! Form::text('contenant2') !!}
Contenant 3 :
{!! Form::text('contenant3') !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")
Paramètre de la catégorie
Nom de la catégorie :
{!! Form::text($langue->suffixe . '_libelle', getTranslation("CategorieBoisson", "libelle", $categorie ? $categorie->id : null, $categorie ? $categorie->libelle : null, $langue->suffixe)) !!}
Catégorie parente :
{!! Form::select($langue->suffixe . '_parent_id', $parents, old('parent_id')) !!}
Rang de la catégorie :
{!! Form::text($langue->suffixe . '_rang') !!}

Libellé des contenants
Contenant 1 :
{!! Form::text($langue->suffixe . '_contenant1', getTranslation("CategorieBoisson", "contenant1", $categorie ? $categorie->id : null, $categorie ? $categorie->contenant1 : null, $langue->suffixe)) !!}
Contenant 2 :
{!! Form::text($langue->suffixe . '_contenant2', getTranslation("CategorieBoisson", "contenant2", $categorie ? $categorie->id : null, $categorie ? $categorie->contenant2 : null, $langue->suffixe)) !!}
Contenant 3 :
{!! Form::text($langue->suffixe . '_contenant3', getTranslation("CategorieBoisson", "contenant3", $categorie ? $categorie->id : null, $categorie ? $categorie->contenant3 : null, $langue->suffixe)) !!}
@endif @endforeach @endif
{!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Webresto\Controller\WebrestoController@categorie_boisson') . "'")) !!}
{!! Form::submit("Enregistrer") !!}
{!! Form::hidden('id') !!} {!! Form::close() !!} @stop @section('css') @parent {!! Html::style("css/tabs.css") !!} @stop @section('js') @parent {!! Html::script("js/jquery.easytabs.min.js") !!} @stop