Permalink
Browse files

Hey..generate html ;-)

  • Loading branch information...
1 parent 164bdd6 commit 14fb65ca16849cceaef4ac96b19cc485da612388 @lifo lifo committed Oct 24, 2008
Showing with 4 additions and 4 deletions.
  1. +4 −4 railties/doc/guides/html/layouts_and_rendering.html
@@ -1190,7 +1190,7 @@ <h4 id="_passing_local_variables">3.4.4. Passing Local Variables</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>new.rhtml.erb:
+<pre><tt>new.html.erb:
<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>New zone<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= error_messages_for :zone %&gt;
@@ -1240,7 +1240,7 @@ <h4 id="_rendering_collections">3.4.5. Rendering Collections</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>index.rhtml.erb:
+<pre><tt>index.html.erb:
<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>Products<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= render :partial =&gt; "product", :collection =&gt; @products %&gt;
@@ -1273,7 +1273,7 @@ <h4 id="_rendering_collections">3.4.5. Rendering Collections</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>index.rhtml.erb:
+<pre><tt>index.html.erb:
<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>Products<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= render :partial =&gt; @products %&gt;
@@ -1288,7 +1288,7 @@ <h4 id="_rendering_collections">3.4.5. Rendering Collections</h4>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><tt>index.rhtml.erb:
+<pre><tt>index.html.erb:
<span style="font-weight: bold"><span style="color: #0000FF">&lt;h1&gt;</span></span>Contacts<span style="font-weight: bold"><span style="color: #0000FF">&lt;/h1&gt;</span></span>
&lt;%= render :partial =&gt; [customer1, employee1, customer2, employee2] %&gt;

0 comments on commit 14fb65c

Please sign in to comment.