diff options
author | Josiah Ivey <josiah.ivey@gmail.com> | 2010-05-04 09:52:31 -0500 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-05-04 19:31:41 +0200 |
commit | 0dd3b4630fea4bd4d4010b7096c9ee79d34c4501 (patch) | |
tree | a36d986cbbb73c94d217cbe86c9af7ef97a89567 /railties/guides/source | |
parent | d5e3c494781abe0b16b4e40f597ff64f8ad6512f (diff) | |
download | rails-0dd3b4630fea4bd4d4010b7096c9ee79d34c4501.tar.gz rails-0dd3b4630fea4bd4d4010b7096c9ee79d34c4501.tar.bz2 rails-0dd3b4630fea4bd4d4010b7096c9ee79d34c4501.zip |
image_tag should be audio_tag, and change typo 'image' to 'audio file'
Diffstat (limited to 'railties/guides/source')
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index 7be369453e..a874fa0ca7 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -895,10 +895,10 @@ The +audio_tag+ helper builds an HTML 5 +<audio>+ tag to the specified fil <%= audio_tag "music.mp3" %> </erb> -You can supply a path to the image if you like: +You can supply a path to the audio file if you like: <erb> -<%= image_tag "music/first_song.mp3" %> +<%= audio_tag "music/first_song.mp3" %> </erb> You can also supply a hash of additional options, such as +:id+, +:class+ etc. |