Permalink
Browse files

add lorem helpers demo

  • Loading branch information...
1 parent bf1fdbc commit 81d82b1eb5674d48204fbb4830d2f671553faf14 @hlb hlb committed Mar 15, 2012
Showing with 19 additions and 0 deletions.
  1. +1 −0 _header.html.erb
  2. +18 −0 lorem.html.erb
View
@@ -13,6 +13,7 @@
<li><a href="/dashboard/index.html">Dashboard</a></li>
<li><a href="/secret/index.html">Secret</a></li>
<li><a href="/secret/use_special_layout.html">Secret 2</a></li>
+ <li><a href="/lorem.html">Lorem Helpers</a></li>
<li><a href="/about.html">About</a></li>
</ul>
<p class="navbar-text pull-right">Logged in as <a href="#">username</a></p>
View
@@ -0,0 +1,18 @@
+<p><%= lorem_sentence %></p>
+
+<p><%= lorem_words 5 %></p>
+
+<p><%= lorem_word %></p>
+<p><%= lorem_paragraphs 10 %></p>
+<p><%= lorem_paragraph %></p>
+<p><%= lorem_date %></p>
+<p><%= lorem_name %></p>
+<p><%= lorem_first_name %></p>
+<p><%= lorem_last_name %></p>
+<p><%= lorem_email %></p>
+
+<img src="<%= lorem_image('300x400') %>">
+<img src="<%= lorem_image('300x400', :background_color => '333', :color => 'fff') %>">
+<img src="<%= lorem_image('300x400', :random_color => true) %>">
+<img src="<%= lorem_image('300x400', :text => lorem_word) %>">
+

0 comments on commit 81d82b1

Please sign in to comment.