2017 © Pedro Peláez
 

symfony-bundle bootstrap-bundle

image

rithis/bootstrap-bundle

  • Monday, September 17, 2012
  • by rithis
  • Repository
  • 0 Watchers
  • 0 Stars
  • 94 Installations
  • JavaScript
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RithisBootstrapBundle

Symfony2 Bundle with Twitter Bootstrap front-end framework and adopted templates., (*1)

Installation

Run this command in your project directory:, (*2)

``` bash $ composer.phar require rithis/bootstrap-bundle:@dev, (*3)


After that enable bundle in the kernel: ``` php <?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new Rithis\BootstrapBundle\RithisBootstrapBundle(), ); }

Usage

Bootstrap Files

If you want just include Bootstrap files in your project then run php app/console assets:install and include Bootstrap:, (*4)

``` html , (*5)


### Base Template You can extend our base template `RithisBoootstrapBundle::base.html.twig` with Bootstrap included for fast start ### Form Theme We adopt Symfony2 form theme for Bootstrap. You can enable theme globally: ``` yaml twig: form: resources: - form_div_layout.html.twig - RithisBootstrapBundle::form.html.twig

Or you can add theme to specific form:, (*6)

{% form_theme form with ["RithisBootstrapBundle::form.html.twig"] %}

The Versions

17/09 2012

dev-master

9999999-dev https://github.com/rithis/BootstrapBundle

  Sources   Download

MIT

The Requires

 

by Vyacheslav Slinko