Skip to content

Instantly share code, notes, and snippets.

View thacac's full-sized avatar
🎯
Focusing

Cédric Caccomo thacac

🎯
Focusing
View GitHub Profile
@thacac
thacac / materialize_form_theme.html.twig
Last active March 20, 2024 21:17 — forked from JusteLeblanc/materialize_form_theme.html.twig
Symfony2 form theme to integrate Materialize in your Symfony2 forms
{% extends 'form_div_layout.html.twig' %}
{% block form_row -%}
<div class="row{% if (not compound or force_error|default(false)) and not valid %} has-error{% endif %}">
<div class="input-field col s12">
{{- form_widget(form) -}}
{{- form_label(form) -}}
{{- form_help(form) -}}
{{- form_errors(form) -}}
</div>
@thacac
thacac / hello.js
Created April 7, 2020 14:01
le classic hello world
var message="Hello World";
alert(message;