Skip to content

Instantly share code, notes, and snippets.

View florianpdf's full-sized avatar

Florian Grandjean florianpdf

View GitHub Profile
{% extends '@TRMain/layout.html.twig' %}
{% block content %}
<section id="notification_ok">
<div class="row">
{% if eventsTrue is empty and eventsFalse is empty %}
<h1 class="title_section">Vous n'avez pas de cours planifié(s)</h1>
{% elseif eventsTrue is empty %}
<h1 class="title_section">Vous avez {{ eventsFalse|length }} cours en attente de validation</h1>
{% elseif eventsFalse is empty %}
{% extends '::base.html.twig' %}
{% block main_content %}
{{ include('includes/topbar.html.twig') }}
{{ include('includes/sidebar.html.twig') }}
<main class="admin-form deep-main">
<h1>Ajout d'un organisme</h1>
{{ form_start(form) }}
{% extends 'base.html.twig' %}
{% block body_class %}<body id="accueil">{% endblock %}
{% block main_content %}
{{ include('includes/topbar.html.twig') }}
<ul id="marquee">
{% for result in results %}
<li>
<span>
set nocompatible
filetype plugin indent on
" show existing tab with 4 spaces width
" set tabstop=4
" " when indenting with '>', use 4 spaces width
" set shiftwidth=4
" " On pressing tab, insert 4 spaces
" set expandtab
syntax on
<?php
class Person
{
private $name;
private $firstname;
private $address;
private $date_of_birth;
function __construct($name, $firstname, $address, $date_of_birth){