GithubHelp home page GithubHelp logo

How use it? about simple_form-bootstrap HOT 6 CLOSED

heartcombo avatar heartcombo commented on June 8, 2024
How use it?

from simple_form-bootstrap.

Comments (6)

erlend avatar erlend commented on June 8, 2024

AFAIK this project is the source code for http://simple-form-bootstrap.plataformatec.com.br, which only highlights how to use Bootstrap with the "simple_form" gem.

On Monday 31 March 2014 at 14:46, Vadorequest wrote:

Hi.
I thought that this project was a gem so I tried to add it in my gemfile:
gem 'simple_form-bootstrap', github: 'rafaelfranca/simple_form-bootstrap'
But it doesn't works, probably because this is actually a project and not a gem.
I know that this is not released yet, but I would like to give a try to the dev version.
I would appreciate to kown how use it, because I have no idea how to use it, yet.
Thanks.


Reply to this email directly or view it on GitHub (#39).

from simple_form-bootstrap.

lucasmazza avatar lucasmazza commented on June 8, 2024

Yeah, this project is an example application and not a gem that you can add to your project. The only dependency you need is the simple_form gem and the bootstrap wrappers generated on the simple_form.rb initializer. Please check the README section about Bootstrap on the Simple Form repo. https://github.com/plataformatec/simple_form#bootstrap

from simple_form-bootstrap.

Vadorequest avatar Vadorequest commented on June 8, 2024

Thanks for the quick answer.
The documentation is about bootstrap 2.3.2, what about bootstrap 3 ?

If I understand correctly, I just need the initializer.rb from this repo to get a simple form customized to use bootstrap 3 ? Is it usable with simple_form (2.1.1)?

from simple_form-bootstrap.

rafaelfranca avatar rafaelfranca commented on June 8, 2024

To work with bootstrap 3 only simple_form 3.1, aka master. The initializer is also generated by simple_form so this project is only an example application

from simple_form-bootstrap.

Vadorequest avatar Vadorequest commented on June 8, 2024

Okay, thanks. That's what I thougt, I'm stuck with simple_form 2.1 for a while so I can't update it, I guess I won't be able to use the bootstrap 3 so.
Thanks.

from simple_form-bootstrap.

andyw8 avatar andyw8 commented on June 8, 2024

If your instructions only work with the master branch of simple_form then can you please make that clear in the README. I've spent several frustrating trying it to figure out why this wasn't working.

from simple_form-bootstrap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.