striide/twitterbootstrap-bundle

Useful Twitterbootstrap Features.

dev-master 2015-01-12 10:27 UTC

This package is not auto-updated.

Last update: 2024-06-08 12:00:47 UTC


README

The intent here is to provide a convenient bridge for twitterbootstrap components

Components

Alerts

  • Alert/info.html.twig

Modal

  • Modal/errorModal.html.twig

Pager

  • Navigation/pager.html.twig

Used like:

{% render 'StriideTwitterbootstrapBundle:Navigation:pager' with {page: 1} %}

We also have several twig methods and filters:

Twig Methods

  • form_value
  • field_label
  • field_tip
  • is_inline

Twig Filters

  • field_has_tip

Form Themes

  • Form/form_theme.html.twig

Routing

StriideTwitterbootstrapBundle: resource: "@StriideTwitterbootstrapBundle/Resources/config/routing.yml" prefix: /