Bootstrap Forms

3 Jul

Now that SilverStripe 3 allows custom templating of FormField objects, we can bring a CSS framework such as Twitter Bootstrap into SilverStripe. The Bootstrap Forms module takes advantage of one of the greatest features of the framework — its forms and buttons.
Make your application look beautiful with Bootstrap Forms!

2 Responses to “Bootstrap Forms”

  1. Jyrki Grohn 19. Feb, 2013 at 1:48 am #

    Is it possible to make a custom template for form and still using Bootstrap Forms-module?
    I tried with forTemplate-method, but it overwrites .css and .js requirements and other settings. I think I should extend MyForm’s forTemplate method with renderWith, but I couldn’t get it work.

    • Jyrki Grohn 19. Feb, 2013 at 2:15 am #

      With this I got it working:
      public function forTemplate() {
      return $this->renderWith(array($this->class, ‘Form’));