Sha256: 1dbd1da5d76d5da689fe7fe106969eb6c7206c289395753d45d537c01e67addb

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

<%(BeforeCompile) opt[:process_xhtml]=true %>

<!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

  <<body#store<
    <<div#banner<
      %= image_tag("logo.png")
      %= @page_title || "Pragmatic Bookshelf"

    <<div#columns<
      <<div#side<
        % style = @cart.items.empty? ? "display: none" : false
        <<div#cart : | Attr[:style] <
          %= render(:partial => "cart", :object => @cart)

        <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#main<
        <<div#notice ?[flash[:notice]]<
          %= flash[:notice]

        << :content_for_layout | NoSanitize >>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
amrita2-2.0.2 sample/depot/app/views/layouts/store.a2html