Skip to content

Instantly share code, notes, and snippets.

ffmpeg -i 01\ -\ Green\ Beret\ Loading\ Theme.flac \
-map 0:1 \
-c:a:0 alac \
01\ -\ Green\ Beret\ Loading\ Theme.m4a
@mablae
mablae / register.html.twig
Created October 17, 2018 00:55 — forked from ThePeterMick/register.html.twig
Display label and checkbox separately for bootstrap 4 in Twig for Symfony 4
{% form_theme form _self %}
{% block checkbox_widget -%}
{%- set parent_label_class = parent_label_class|default(label_attr.class|default('')) -%}
{%- if 'checkbox-custom' in parent_label_class -%}
{%- set attr = attr|merge({class: (attr.class|default('') ~ ' custom-control-input')|trim}) -%}
<div class="custom-control custom-checkbox{{ 'checkbox-inline' in parent_label_class ? ' custom-control-inline' }}">
{{ block('checkbox_widget_base') }}
</div>
{%- else -%}