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

library_books Actualités

{!! Form::model($categorie, array("class" => "form-horizontal")) !!}
@if(count(getAllLangues()) > 1) @endif
@if($categorie != null) {!! Form::submit("Enregistrer et rester sur la page", array("class" => "btn btn-sm bg-teal waves-effect m-l-15 pull-right", "name" => "saveAndkeep")) !!} @endif {!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Actualite\Controller\ActualiteController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect pull-right")) !!}

Catégorie d'actualités

Éditer une catégorie

{!! Form::text('libelle', old('libelle'), array("class" => "form-control", "placeholder" => "Nom de la catégorie", "required")) !!}
{!! Form::text('rewrite', old('rewrite'), array("class" => "form-control", "placeholder" => "Rewrite de la catégorie")) !!}
{!! Form::text('rang', old('rang'), array("class" => "form-control", "placeholder" => "Rang de la catégorie")) !!}
@if(count(getAllLangues()) > 1) @foreach (getAllLangues() as $langue) @if($langue->suffixe != "fre")
@if($categorie != null) {!! Form::submit("Enregistrer et rester sur la page", array("class" => "btn btn-sm bg-teal waves-effect m-l-15 pull-right", "name" => "saveAndkeep")) !!} @endif {!! Form::reset('Annuler', array("onclick" => "window.location = '" . action('\Plugins\Actualite\Controller\ActualiteController@admin') . "'", "class" => "btn btn-sm bg-orange waves-effect pull-right")) !!}

Catégorie d'actualités

Éditer une catégorie

{!! Form::text($langue->suffixe . '_libelle', getTranslation("ActuCategorie", "libelle", $categorie ? $categorie->id : null, $categorie ? $categorie->libelle : null, $langue->suffixe), array("class" => "form-control", "placeholder" => "Nom de la catégorie")) !!}
{!! Form::text($langue->suffixe . '_rewrite', getTranslation("ActuCategorie", "rewrite", $categorie ? $categorie->id : null, $categorie ? $categorie->rewrite : null, $langue->suffixe), array("class" => "form-control", "placeholder" => "Rewrite de la catégorie")) !!}
{!! Form::text($langue->suffixe . '_rang', getTranslation("ActuCategorie", "rang", $categorie ? $categorie->id : null, $categorie ? $categorie->rang : null, $langue->suffixe), array("class" => "form-control", "placeholder" => "Rang de la catégorie")) !!}
@endif @endforeach @endif
{!! Form::hidden('id') !!} {!! Form::close() !!} @stop