wh/smart-admin-bundle

Symfony WHSmartAdminBundle

Installs: 240

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 5

Forks: 1

Open Issues: 0

Language:JavaScript

Type:symfony-bundle

dev-master 2016-11-03 12:30 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:50:38 UTC


README

Le template utilisé est smart admin.

Installation

public function registerBundles()
{
    $bundles = array(

        new WH\SmartAdminBundle\WHSmartAdminBundle(),

    );

    ...

Twig functions

.dateSelect : Met une taille à 33% des selects pour qu'ils tiennent dans l'espace en inline :

{{ form_row(formCreate.birthday, {'class' : 'dateSelect'}) }}

ou 20% :

{{ form_row(formCreate.birthday, {'class' : 'dateTimeSelect'}) }}

.block Met un element en display:block

Demander une confirmation avant suppression :

{{ Smart.confirm('your text') }}

Modal :

{{ Smart.modal('size') }}

'size' peut être rien (taille moyenne) ou mm, sm, lg

SmartAdminBundle