test

Erb code posted by spencerlim
created at 12 Dec 10:40

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  
<head>
  <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
  <title>Posts: <%= controller.action_name %></title>
  <%= stylesheet_link_tag 'reset' %>
  <%= stylesheet_link_tag 'nav' %>
  <%= stylesheet_link_tag 'main' %>
  <%= stylesheet_link_tag 'scaffold' %>
  <%= auto_discovery_link_tag :atom, formatted_posts_path(:atom) %>
  <%= javascript_include_tag :all %>
</head>


<body>
  <div id=container>
    <div id=logo>
      <img width="452" height="88" src="/images/logo.png" alt="Railscasts"/>
    </div>
    <ul id="nav">
            <li id="list1"><a href="#"><span>Apple</span></a></li>
            <li id="list2"><a href="#"><span>Store</span></a></li>
            <li id="list3"><a href="#"><span>Mac</span></a></li>
            <li id="list4"><a href="#"><span>iPod + iTunes</span></a></li>
            <li id="list5"><a href="#"><span>iPhone</span></a></li>
            <li id="list6"><a href="#"><span>Downloads</span></a></li>
            <li id="list7"><a href="#"><span>Support</span></a></li>
    </ul>
    <div id=main >
      <p style="color: green"><%= flash[:notice] %></p>
      <%= yield %>
    </div>
    <div id=side>
  
    </div>
    <div id=footer>
      <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
        <img alt="Creative Commons License" style="border-width:0" align="left" src="http://i.creativecommons.org/l/by/3.0/88x31.png" /></a>
        <br />This work is licensed under a <br/><a rel="license" href="http://creativecommons.org/licenses/by/3.0/">
          Creative Commons Attribution 3.0 License</a>.
    </div>
  </div>
</body>

</html>
1.77 KB in 10 ms with coderay