added jumbotron for not signed in users
This commit is contained in:
parent
6630abe7c6
commit
f3e5ce3e2b
|
@ -1,5 +1,18 @@
|
||||||
|
- if user_signed_in?
|
||||||
.container
|
.container
|
||||||
%h1 Static#index
|
%h1 Static#index
|
||||||
= render 'layouts/messages'
|
= render 'layouts/messages'
|
||||||
|
|
||||||
%p Find me in app/views/static/index.html.haml
|
%p Find me in app/views/static/index.html.haml
|
||||||
|
- else
|
||||||
|
.jumbotron
|
||||||
|
.container
|
||||||
|
= render 'layouts/messages'
|
||||||
|
%h1 Hi!
|
||||||
|
%p Ask questions, give answers and learn more about your friends.
|
||||||
|
%p
|
||||||
|
%a.btn.btn-primary.btn-lg{href: url_for(new_user_registration_path)}
|
||||||
|
Register now
|
||||||
|
%small
|
||||||
|
Already a member?
|
||||||
|
= link_to 'Sign in', new_user_session_path
|
Loading…
Reference in New Issue