aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorSıtkı Bağdat <sbagdat@gmail.com>2013-06-17 03:22:31 +0300
committerSıtkı Bağdat <sbagdat@gmail.com>2013-06-17 19:59:02 +0300
commitf0e4254bfa1443c3d51af117b925a02b88076f58 (patch)
treec9d7cfc7310ae13624bdb4d377b959ac1c5ca16f /guides
parentce13dc28e47d739545da5732a2b23903c9b7ed84 (diff)
downloadrails-f0e4254bfa1443c3d51af117b925a02b88076f58.tar.gz
rails-f0e4254bfa1443c3d51af117b925a02b88076f58.tar.bz2
rails-f0e4254bfa1443c3d51af117b925a02b88076f58.zip
Use Colspan in th Tags
Is it more suitable that using ```<th colspan="3">``` instead of three empty ```<th>```? It is simple, but what i am missing about it? Change repetitive th tags to use colspan attribute Update CHANGELOG.md Update CHANGELOG.md
Diffstat (limited to 'guides')
-rw-r--r--guides/CHANGELOG.md4
-rw-r--r--guides/source/getting_started.md7
2 files changed, 5 insertions, 6 deletions
diff --git a/guides/CHANGELOG.md b/guides/CHANGELOG.md
index 766f7f6f56..37257baeba 100644
--- a/guides/CHANGELOG.md
+++ b/guides/CHANGELOG.md
@@ -1,3 +1,5 @@
-* No changes.
+* Removed repetitive th tags. Instead of them added one th tag with a colspan attribute.
+
+ *Sıtkı Bağdat*
Please check [4-0-stable](https://github.com/rails/rails/blob/4-0-stable/guides/CHANGELOG.md) for previous changes.
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index 2fb0cd7c72..0d44f0e776 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -932,8 +932,7 @@ appear next to the "Show" link:
<tr>
<th>Title</th>
<th>Text</th>
- <th></th>
- <th></th>
+ <th colspan="2"></th>
</tr>
<% @posts.each do |post| %>
@@ -1073,9 +1072,7 @@ together.
<tr>
<th>Title</th>
<th>Text</th>
- <th></th>
- <th></th>
- <th></th>
+ <th colspan="3"></th>
</tr>
<% @posts.each do |post| %>