@extends('base') @section('title') Pages du site @stop @section('additional_javascript') @stop @section('content') @include('subviews.contextualHelp', array('help' => 'custom-page-list'))

Pages du site

@include('subviews.flashMessages')

Pages standards

Page d'accueil   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Charte d'unité   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
RGPD   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Adresses   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Inscription (activée) @if (Parameter::get(Parameter::$REGISTRATION_ACTIVE)) @else @endif   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Inscription (désactivée) @if (!Parameter::get(Parameter::$REGISTRATION_ACTIVE)) @else @endif   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Formulaire d'inscription   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Fête d'unité   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
Aide   @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif

Pages de section

@foreach (Section::all() as $section) @endforeach
Page d'accueil Uniforme
{{{ $section->name }}} $section->slug)) }}' class='btn btn-default'>   @if ($user->can(Privilege::$EDIT_PAGES, $section)) $section->slug)) }}' class='btn btn-primary'> @endif   @if ($user->can(Privilege::$EDIT_PAGES, $section)) @endif

Pages libres

@foreach (Page::where('type', '=', 'custom')->orderBy('position')->get() as $page) @endforeach @if ($user->can(Privilege::$EDIT_PAGES, 1)) @endif
{{{ $page->title }}} {{ $page->leaders_only ? "(privé)" : "" }} $page->slug)) }}' class='btn btn-default'>   @if ($user->can(Privilege::$EDIT_PAGES, 1)) $page->slug)) }}' class='btn btn-primary'>   $page->slug)) }}' class='btn btn-danger delete-page-button'>Supprimer @endif
Ajouter une page {{ Form::open(array('route' => 'add_custom_page')) }} {{ Form::text('page_title', null, array('class' => 'form-control large', 'placeholder' => 'Titre de la page')) }} Page privée : {{ Form::checkbox('leaders_only', 1, 0) }} {{ Form::submit('Ajouter', array('class' => 'btn btn-primary')) }} {{ Form::close() }}
@stop