aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/index.html.erb
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2012-03-17 08:32:49 -0700
committerXavier Noria <fxn@hashref.com>2012-03-17 08:32:49 -0700
commit6d87cd028b32570973450424db164e5405a0ee13 (patch)
tree38008699f54532c6ba446ec806ccc33ad26b10fd /guides/source/index.html.erb
parent9d06b49913dd2a2254d87c7af1af9f1e4d7f64ec (diff)
downloadrails-6d87cd028b32570973450424db164e5405a0ee13.tar.gz
rails-6d87cd028b32570973450424db164e5405a0ee13.tar.bz2
rails-6d87cd028b32570973450424db164e5405a0ee13.zip
moves the guides up to the root directory
Diffstat (limited to 'guides/source/index.html.erb')
-rw-r--r--guides/source/index.html.erb30
1 files changed, 30 insertions, 0 deletions
diff --git a/guides/source/index.html.erb b/guides/source/index.html.erb
new file mode 100644
index 0000000000..5439459b42
--- /dev/null
+++ b/guides/source/index.html.erb
@@ -0,0 +1,30 @@
+<% content_for :page_title do %>
+Ruby on Rails Guides
+<% end %>
+
+<% content_for :header_section do %>
+<%= render 'welcome' %>
+<% end %>
+
+<% content_for :index_section do %>
+<div id="subCol">
+ <dl>
+ <dd class="kindle">Rails Guides are also available for the <%= link_to 'Kindle', 'https://kindle.amazon.com' %>
+and <%= link_to 'Free Kindle Reading Apps', 'http://www.amazon.com/gp/kindle/kcp' %> for the iPad,
+iPhone, Mac, Android, etc. Download them from <%= link_to 'here', @mobi %>.
+ </dd>
+ <dd class="work-in-progress">Guides marked with this icon are currently being worked on. While they might still be useful to you, they may contain incomplete information and even errors. You can help by reviewing them and posting your comments and corrections to the author.</dd>
+ </dl>
+</div>
+<% end %>
+
+<% documents_by_section.each do |section| %>
+ <h3><%= section['name'] %></h3>
+ <dl>
+ <% section['documents'].each do |document| %>
+ <%= guide(document['name'], document['url'], :work_in_progress => document['work_in_progress']) do %>
+ <p><%= document['description'] %></p>
+ <% end %>
+ <% end %>
+ </dl>
+<% end %>