Hi All

Playing with bootstrap 4, discovered that I can get bootstrap 4 style 
buttons by merely adding bootstrap-theme.min.css as follows to 
application.html.erb as follows:-

   <%= stylesheet_link_tag    'application', media: 'all', 
'data-turbolinks-track': 'reload' %>
    <%= javascript_include_tag 'application', 'data-turbolinks-track': 
'reload' %>
     <link rel="stylesheet" href="css/bootstrap-theme.min.css"> 

Then in my sessions.html

 <button class="btn btn-primary" type="submit">Login</button>

gives me the bootstrap 4 blue login button :-)

other options:
.btn-default,
.btn-primary,
.btn-success,
.btn-info,
.btn-warning,
.btn-danger


Just sharing...

On Sunday, 26 March 2017 11:26:42 UTC+8, Chee Chong Hwa wrote:
>
> Hi All
>
> Can you be kind enough to outline the tips and traps on using Bootstrap 
> and Active_Scaffold ?
>
> TIA
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails Gem" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/activescaffold.
For more options, visit https://groups.google.com/d/optout.

Reply via email to