Permalink
Browse files

Adding a Fork me on Github banner

  • Loading branch information...
1 parent 42d10f5 commit e8abfb9bdee5135d19ce5c38755ce6440922b7cd Simon COURTOIS committed Mar 19, 2012
@@ -10,4 +10,9 @@ input[type=text], input[type=email]
input[type=submit]
font-size: 40px
color: green
- float: right
+ float: right
+.fork-on-github img
+ border: 0
+ position: absolute
+ right: 0
+ top: 0
@@ -1,2 +1,7 @@
module ApplicationHelper
+ def github_banner
+ link_to "http://github.com/tibastral/presentations", :class => 'fork-on-github' do
+ image_tag "http://bit.ly/github-red-banner-right", :alt => "Fork me on GitHub"
+ end
+ end
end
@@ -6,6 +6,7 @@
= javascript_include_tag "application"
= csrf_meta_tags
%body
+ = github_banner
.wrapper
= notice
= yield

0 comments on commit e8abfb9

Please sign in to comment.