wh / smart-admin-bundle
Symfony WHSmartAdminBundle
Installs: 240
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Language:JavaScript
Type:symfony-bundle
pkg:composer/wh/smart-admin-bundle
Requires
- php: >=5.3.9
 - symfony/symfony: ~2.7
 
This package is not auto-updated.
Last update: 2025-10-25 23:27:05 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