store.rhtml

来自「ruby on rails web敏捷开发之路第二版 源代码」· RHTML 代码 · 共 44 行

RHTML
44
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"                      "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><!-- ! Excerpted from "Agile Web Development with Rails, 2nd Ed." ! We make no guarantees that this code is fit for any purpose.  ! Visit http://www.pragmaticprogrammer.com/titles/rails2 for more book information.--><html><head>  <title>Pragprog Books Online Store</title>  <%= stylesheet_link_tag "depot", :media => "all" %>  <%= javascript_include_tag :defaults %></head><body id="store">  <div id="banner">    <img src="/images/logo.png"/>    <%= @page_title || "Pragmatic Bookshelf" %>  </div>  <div id="columns">    <div id="side">	    <div id="cart">	<%= render(:partial => "cart", :object => @cart)  %>    </div>	      <a href="http://www....">Home</a><br />      <a href="http://www..../faq">Questions</a><br />      <a href="http://www..../news">News</a><br />      <a href="http://www..../contact">Contact</a><br />    </div>    <div id="main">	  	  <% if flash[:notice] -%>	    <div id="notice"><%= flash[:notice] %></div>	  <% end -%>	        <%= yield :layout %>    </div>  </div></body></html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?