Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add example for zh_lorem_* helpers

  • Loading branch information...
commit 138d1df0c91a33847ef5846e95e6a5d85d710c0e 1 parent 81d82b1
@hlb hlb authored
Showing with 13 additions and 2 deletions.
  1. +13 −2 lorem.html.erb
View
15 lorem.html.erb
@@ -1,7 +1,7 @@
-<p><%= lorem_sentence %></p>
+<h1>Lorem Helpers</h1>
+<p><%= lorem_sentence %></p>
<p><%= lorem_words 5 %></p>
-
<p><%= lorem_word %></p>
<p><%= lorem_paragraphs 10 %></p>
<p><%= lorem_paragraph %></p>
@@ -16,3 +16,14 @@
<img src="<%= lorem_image('300x400', :random_color => true) %>">
<img src="<%= lorem_image('300x400', :text => lorem_word) %>">
+<h1>Chinese Version (from our <a href="http://more.handlino.com/">MoreText</a> service)</h1>
+
+<p><%= zh_lorem_sentence %></p>
+<p><%= zh_lorem_words 5 %></p>
+<p><%= zh_lorem_word %></p>
+<p><%= zh_lorem_paragraphs 10 %></p>
+<p><%= zh_lorem_paragraph %></p>
+<p><%= zh_lorem_name %></p>
+<p><%= zh_lorem_first_name %></p>
+<p><%= zh_lorem_last_name %></p>
+<p><%= zh_lorem_email %></p>
Please sign in to comment.
Something went wrong with that request. Please try again.