[Rails] Re: Div background image not showing in heroku. However, the logo shows

2016-01-08 Thread Abdulaleem Seyed
Found solution everything is working now. I discovered Cloudfront did not play a role in the error in this matter. When I disabled and enabled it there was no change affect on the problem. How, it worked perfectly once is used the solution below fix the issue. The image was pointing to path.I

[Rails] Div background image not showing in heroku. However, the logo shows

2016-01-07 Thread Abdulaleem Seyed
I tried changing the image tag, no luck with that. I reviewed other post here and tried those solutions none work. I also use amazon cloudfront. signup{ text-align: center; background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.4)), url("zoom1028.jpg"); } -- Posted via

[Rails] Unable to login to activerecord after install w/ default login information

2015-09-19 Thread Abdulaleem Seyed
I have installed active admin on three different apps today and the default login information is not working. I keep getting Unauthorized error message. The error is the same in my local development in terminal, as we as Nitrous.io IDE. I check stackoverflow for a solution, however, what they we

[Rails] Re: Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178417: > If you are cutting and pasting exactly from your view to your HTML it > seems > kind of odd. > > The 'form group' is showing up not where you put it before the form, but > before the input field. > The Submit button still says submit, not update as you indicate

[Rails] Re: Re: Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178421: > I'm glad you were able to get it to work - but does the button work to > submit your form? > In my usage, btn btn-primary work on most elements. Not sure why > changing > the tag makes it work and now am concerned that your form won't submit > based on the

[Rails] Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178443: > PS - does the form work even if the styling doesn't? Can you submit > emails? Yes. The form works completely. The styling is the problem in this form only. The same buttons are working in other places with no problem. -- Posted via

[Rails] Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
Here is the code entirely: class SubscriptionsController <%= f.text_field :email %> <%= f.submit "Create", class: 'btn btn-success' %> <% end %> -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178401: > You need to add the classifications within the erb code. > > For instance > > <%= f.submit, class: "btn btn-primary" %> > > (PS it seems like you might be customizing the create button so you have > to > list that in the ERB code for it to show up properly) > >

[Rails] Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
Walter Davis wrote in post #1178402: >> However, it did not work. Here is my code in my file. >> >> <%= form_for @subscription do |f| %> >> <%= f.text_field :email %> >> <%= f.submit %> >> <% end %> >> > > When you view that in a browser, what do you see? > > Bootstrap 3 doesn’t require a

[Rails] Re: Re: Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
John Lahr wrote in post #1178409: > How have you integrated bootstrap into your application? gem 'bootstrap-sass', '~> 3.3.5' In my custom stylesheet.css.scss @import "bootstrap-sprockets"; @import "bootstrap"; Bootstrap is working all through my site, except with this form problem. --

[Rails] Adding bootstrap styling to ruby on rails form_for

2015-09-01 Thread Abdulaleem Seyed
I am trying to add bootstrap styling to my rails form_for form. Such that I can change the button styling and make the from inline. I tried adding doing something like: <%= f.submit "Create your account", class: "btn btn-primary" %> However, it did not work. Here is my code in my file.